summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/frontend.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index e1021ce8..2286bf19 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -46,7 +46,6 @@ class Frontend extends TextScanner {
const {zoomFactor} = await apiGetZoom();
this._pageZoomFactor = zoomFactor;
- window.addEventListener('scroll', this.onScroll.bind(this), false);
window.addEventListener('resize', this.onResize.bind(this), false);
const visualViewport = window.visualViewport;
@@ -70,10 +69,6 @@ class Frontend extends TextScanner {
this._updatePopupPosition();
}
- onScroll() {
- this._updatePopupPosition();
- }
-
onWindowMessage(e) {
const action = e.data;
const handler = Frontend._windowMessageHandlers.get(action);