diff options
| author | Mark Otto <[email protected]> | 2017-08-08 21:45:33 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-08-09 08:34:28 -0700 |
| commit | cf3bfa04ef616358c9ee04dc228b2390d60e1220 (patch) | |
| tree | 6a1713ce101443a33c3f16cb6dff04032f5007f1 /assets/js/src/application.js | |
| parent | 209a9635391a4137cd2792f4227ab1c95742a5a2 (diff) | |
| download | bootstrap-cf3bfa04ef616358c9ee04dc228b2390d60e1220.tar.xz bootstrap-cf3bfa04ef616358c9ee04dc228b2390d60e1220.zip | |
replacement fix for #23257 without old history
Diffstat (limited to 'assets/js/src/application.js')
| -rw-r--r-- | assets/js/src/application.js | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/assets/js/src/application.js b/assets/js/src/application.js index e1b9721a0..ea7d812b0 100644 --- a/assets/js/src/application.js +++ b/assets/js/src/application.js @@ -96,15 +96,10 @@ .tooltip('_fixTitle') }) + anchors.options = { + icon: '#' + } + anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5') + $('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5').wrapInner('<span></span>') }) - }(jQuery)) - -;(function () { - 'use strict' - - anchors.options = { - icon: '#' - } - anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5') -}()) |
