From: Mark Otto Date: Tue, 18 Aug 2015 04:20:36 +0000 (-0700) Subject: restore docs anchor js X-Git-Tag: v4.0.0-alpha~27^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b6c35b5dee0acb11fa9412b24481eafb4aca57;p=thirdparty%2Fbootstrap.git restore docs anchor js --- diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 6206273fd6..e8432b53f0 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -76,3 +76,10 @@ }) }(jQuery) + +;(function () { + 'use strict'; + + anchors.options.placement = 'left'; + anchors.add('.bd-content > h1, .bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5') +})();