]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
scope the anchor highlighting
authorMark Otto <markdotto@gmail.com>
Mon, 9 Mar 2015 15:21:34 +0000 (15:21 +0000)
committerMark Otto <markdotto@gmail.com>
Mon, 9 Mar 2015 15:21:34 +0000 (15:21 +0000)
docs/assets/js/src/application.js

index 4f053cd8dda4488821951ef74e7b72cbe1fea9c8..909dafb6d3003c5de29a4285c994542472445826 100644 (file)
 
 ;(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');
 })();