From 03b6c35b5dee0acb11fa9412b24481eafb4aca57 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Aug 2015 21:20:36 -0700 Subject: [PATCH] restore docs anchor js --- docs/assets/js/src/application.js | 7 +++++++ 1 file changed, 7 insertions(+) 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') +})();