]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/config.js
Removed unused scroll patch after testing
[bookstack] / resources / js / wysiwyg / config.js
index 0b43b9c79bc306af492986732b972f2c4283b9a8..2c9fb0553971d49eae1c1dae55c83f405133cfa3 100644 (file)
@@ -1,6 +1,6 @@
 import {register as registerShortcuts} from "./shortcuts";
 import {listen as listenForCommonEvents} from "./common-events";
-import {scrollToQueryString, fixScrollForMobile} from "./scrolling";
+import {scrollToQueryString} from "./scrolling";
 import {listenForDragAndPaste} from "./drop-paste-handling";
 
 import {getPlugin as getCodeeditorPlugin} from "./plugin-codeeditor";
@@ -164,7 +164,6 @@ function getSetupCallback(options) {
         editor.on('init', () => {
             editorChange();
             scrollToQueryString(editor);
-            fixScrollForMobile(editor);
             window.editor = editor;
         });