summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index a42f04f5..ca4f0958 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1173,6 +1173,9 @@ function changeMode(type) {
editor.refresh();
}
+ $(document.body).scrollspy('refresh');
+ ui.area.view.scrollspy('refresh');
+
ui.toolbar.both.removeClass("active");
ui.toolbar.edit.removeClass("active");
ui.toolbar.view.removeClass("active");