summaryrefslogtreecommitdiffstats
path: root/theme/javascript/toolbar.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-14 13:35:03 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-14 13:35:03 +0200
commitfef4dfd05efc475047f895fc4876942016688d97 (patch)
tree8e948ca4cbc13dbcffa2e3cf28dbf66d327cffa9 /theme/javascript/toolbar.js
parent05943db3b5a96cf4ec4912dcf7da397a2527b2bb (diff)
downloadgitbook-fef4dfd05efc475047f895fc4876942016688d97.zip
gitbook-fef4dfd05efc475047f895fc4876942016688d97.tar.gz
gitbook-fef4dfd05efc475047f895fc4876942016688d97.tar.bz2
Fix position of sidebar toggle button
Diffstat (limited to 'theme/javascript/toolbar.js')
-rw-r--r--theme/javascript/toolbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/javascript/toolbar.js b/theme/javascript/toolbar.js
index 49edc7c..d65159b 100644
--- a/theme/javascript/toolbar.js
+++ b/theme/javascript/toolbar.js
@@ -157,7 +157,7 @@ function updateButton(opts) {
}
if (_.isNumber(opts.index) && opts.index >= 0) {
- insertAt($toolbar, '.btn, .dropdown', opts.index, $result);
+ insertAt($toolbar, '.btn, .dropdown, h1', opts.index, $result);
} else {
$result.insertBefore($title);
}