aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r--ext/js/display/display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/display/display.js b/ext/js/display/display.js
index c522fe14..fe4160a6 100644
--- a/ext/js/display/display.js
+++ b/ext/js/display/display.js
@@ -29,8 +29,8 @@
* PopupFactory
* PopupMenu
* QueryParser
+ * ScrollElement
* TextScanner
- * WindowScroll
* api
* dynamicLoader
*/
@@ -90,7 +90,7 @@ class Display extends EventDispatcher {
this._updateAdderButtonsPromise = Promise.resolve();
this._contentScrollElement = document.querySelector('#content-scroll');
this._contentScrollBodyElement = document.querySelector('#content-body');
- this._windowScroll = new WindowScroll(this._contentScrollElement);
+ this._windowScroll = new ScrollElement(this._contentScrollElement);
this._closeButton = document.querySelector('#close-button');
this._navigationPreviousButton = document.querySelector('#navigate-previous-button');
this._navigationNextButton = document.querySelector('#navigate-next-button');