Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2017-05-29 22:00:47 +0300
committerMark Otto <markd.otto@gmail.com>2017-05-30 09:32:28 +0300
commit6ea359435d364d324d597f630a87b86521f9668c (patch)
tree07e94774fc6c19b7d73316d32a5c2b3eaa0accf9 /assets/js
parent0ef7cb866e8eb3289470c57fe35d01f31a4c0e14 (diff)
redesign anchors
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/src/application.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/assets/js/src/application.js b/assets/js/src/application.js
index b98c3a5ea1..e1b9721a05 100644
--- a/assets/js/src/application.js
+++ b/assets/js/src/application.js
@@ -103,6 +103,8 @@
;(function () {
'use strict'
- anchors.options.placement = 'left'
- anchors.add('.bd-content > h1, .bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
+ anchors.options = {
+ icon: '#'
+ }
+ anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
}())