History

Fix disappearing icons on some pages

Thibaut Courouble committed 9 years ago

Commit d3927c21 parent 8d0606d3 files · +3 −3Browse files

Showing the changes to assets/javascripts (2 of 3 files). Show all

Unified · Split

2 files
  1. assets/javascripts/templates/path_tmpl.coffee +1 −1
  2. assets/javascripts/templates/sidebar_tmpl.coffee +1 −1
assets/javascripts/templates/path_tmpl.coffee+1−1
@@ -1,4 +1,4 @@
1−arrow = """<svg class="_path-arrow"><use xlink:href="#dir"/></svg>"""
1+arrow = """<svg class="_path-arrow"><use xlink:href="#dir-icon"/></svg>"""
22
33 app.templates.path = (doc, type, entry) ->
44 html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.fullName}</a>"""
assets/javascripts/templates/sidebar_tmpl.coffee+1−1
@@ -1,6 +1,6 @@
11 templates = app.templates
22
3−arrow = """<svg class="_list-arrow"><use xlink:href="#dir"/></svg>"""
3+arrow = """<svg class="_list-arrow"><use xlink:href="#dir-icon"/></svg>"""
44
55 templates.sidebarDoc = (doc, options = {}) ->
66 link = """<a href="#{doc.fullPath()}" class="_list-item _icon-#{doc.icon} """