0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-28 00:54:30 +01:00

Merge pull request #16381 from twbs/docs_anchors

Scope anchorjs to immediate children
This commit is contained in:
Mark Otto 2015-04-27 22:25:59 -07:00
commit 421eacb1b1

View File

@ -176,5 +176,5 @@
;(function () {
'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');
})();