Browse Source

Fix no result note

Thibaut 10 năm trước cách đây
mục cha
commit
5066259cdc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      assets/javascripts/templates/sidebar_tmpl.coffee

+ 1 - 1
assets/javascripts/templates/sidebar_tmpl.coffee

@@ -18,7 +18,7 @@ templates.sidebarResult = (entry) ->
   """<a href="#{entry.fullPath()}" class="_list-item _list-hover _list-result _icon-#{entry.doc.slug}"><span class="_list-reveal" data-reset-list title="Reveal in list"></span>#{$.escape entry.name}</a>"""
 
 templates.sidebarNoResults = ->
-  info = if app.isSingleDoc() or !app.disabledDocs.isEmpty() then '' else """
+  info = if app.isSingleDoc() or app.disabledDocs.isEmpty() then '' else """
     <span class="_list-noresults-note">Note: documentations must be <a class="_list-noresults-link" data-pick-docs>enabled</a> to appear in the search.</span>
   """
   """ <div class="_list-noresults">No results. #{info}</div> """