HackMD/public/vendor
Sheogorath 9951b7df7c
Fix ToC breaking documents with empty h* elements
Right now, the ToC has an undefined variable i that was an index in the
original ToC code. Since the major rewrite in
4fe0620853 it's a recursive function
without this index. The variable `i` was wrongly copied into its current
place from the old code.

This patch replaces the variable `i` with the index of the header
element. Fix the undefined variable problem.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-11-19 18:27:06 +01:00
..
bootstrap Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
codemirror-spell-checker Fix codemirror spell checker not considering abbreviation which contain apostrophe in word 2016-12-20 20:34:20 +08:00
inlineAttachment Reorganize usage of `getAsFile()` 2018-03-18 03:11:28 +01:00
jquery-textcomplete Remove executable permission from static files 2017-04-18 05:01:23 +08:00
jquery-ui Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
ot Remove executable permission from static files 2017-04-18 05:01:23 +08:00
showup Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
abcjs_basic_3.1.1-min.js Add support of abcjs 2017-03-26 20:39:07 +08:00
md-toc.js Fix ToC breaking documents with empty h* elements 2018-11-19 18:27:06 +01:00