1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Removed unused scroll patch after testing

- Tested on android and ios
- Also checked on translations and removed todo.
This commit is contained in:
Dan Brown
2022-02-08 09:42:18 +00:00
parent e0d9380055
commit 572d8b3700
3 changed files with 1 additions and 18 deletions

View 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;
});