diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-14 13:35:03 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-14 13:35:03 +0200 |
commit | fef4dfd05efc475047f895fc4876942016688d97 (patch) | |
tree | 8e948ca4cbc13dbcffa2e3cf28dbf66d327cffa9 | |
parent | 05943db3b5a96cf4ec4912dcf7da397a2527b2bb (diff) | |
download | gitbook-fef4dfd05efc475047f895fc4876942016688d97.zip gitbook-fef4dfd05efc475047f895fc4876942016688d97.tar.gz gitbook-fef4dfd05efc475047f895fc4876942016688d97.tar.bz2 |
Fix position of sidebar toggle button
-rw-r--r-- | theme/assets/website/app.js | 2 | ||||
-rw-r--r-- | theme/javascript/toolbar.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/assets/website/app.js b/theme/assets/website/app.js index 083c05d..a5a28b9 100644 --- a/theme/assets/website/app.js +++ b/theme/assets/website/app.js @@ -24618,7 +24618,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); } 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); } |