aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/dom.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/dom.js')
-rw-r--r--docs/src/dom.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/dom.js b/docs/src/dom.js
index 2c276297..1bb9578e 100644
--- a/docs/src/dom.js
+++ b/docs/src/dom.js
@@ -89,7 +89,9 @@ DOM.prototype = {
replace(/-+/gm, '-').
replace(/-*$/gm, '');
anchor = {'id': id};
- className = {'class': id.toLowerCase().replace(/[._]/mg, '-')};
+ var classNameValue = id.toLowerCase().replace(/[._]/mg, '-');
+ if(classNameValue == 'hide') classNameValue = '';
+ className = {'class': classNameValue};
}
this.tag('h' + this.headingDepth, anchor, heading);
if (content instanceof Array) {