summaryrefslogtreecommitdiff
path: root/public/vendor
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/vendor/md-toc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/md-toc.js b/public/vendor/md-toc.js
index 55817830..661f7f85 100644
--- a/public/vendor/md-toc.js
+++ b/public/vendor/md-toc.js
@@ -28,7 +28,7 @@
Toc.prototype._collectTitleElements = function () {
this._elTitlesNames = []
this.elTitleElements = []
- for (var i = 1; i < 7; i++) {
+ for (var i = 1; i < 6; i++) {
if (this.el.getElementsByTagName('h' + i).length) {
this._elTitlesNames.push('h' + i)
}