Commit 421eacb1 authored by Mark Otto's avatar Mark Otto

Merge pull request #16381 from twbs/docs_anchors

Scope anchorjs to immediate children
parents d87b7a03 dab6a4f0
...@@ -176,5 +176,5 @@ ...@@ -176,5 +176,5 @@
;(function () { ;(function () {
'use strict'; 'use strict';
addAnchors('.bs-docs-container h1, .bs-docs-container h2, .bs-docs-container h3, .bs-docs-container h4, .bs-docs-container h5'); addAnchors('.bs-docs-container > h1, .bs-docs-container > h2, .bs-docs-container > h3, .bs-docs-container > h4, .bs-docs-container > h5');
})(); })();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment