Skip to content
Permalink
Browse files

Fix `undefined` in search results

  • Loading branch information
j-f1 committed Jan 9, 2020
1 parent 5fefb1e commit 93b1126dce8090ede520ee43ee0e7310c114361a
Showing with 2 additions and 2 deletions.
  1. +2 −2 _assets/js/search.coffee
@@ -10,8 +10,8 @@ index = ->
_index

getHeader = (ob) ->
for i in [6..1]
return ob["h#{i}"] if ob["h#{i}"]
headings = ob?.headings
headings[headings.length - 1] if headings

escapeHTML = (text) ->
autocomplete.escapeHighlightedString(

0 comments on commit 93b1126

Please sign in to comment.
You can’t perform that action at this time.