aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-24 21:06:54 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-28 17:03:42 -0400
commitc74c466c36cc3183e4044e8a7583a0a95609f0e1 (patch)
tree3c5ebfad23de9f20549b84a6087f263cabe38af0 /ext/fg/js
parentf2dec4ca20c1eddeda86ceb5c13795d4bacf19d6 (diff)
Remove unused variable
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frontend.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index bc4e8cc3..e7f0bbf7 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -33,7 +33,6 @@ class Frontend {
this.primaryTouchIdentifier = null;
this.contextMenuPrevent = false;
- this.contextMenuPreviousRange = null;
this.mouseDownPrevent = false;
this.clickPrevent = false;
this.scrollPrevent = false;
@@ -435,7 +434,6 @@ class Frontend {
setPrimaryTouch(touch) {
if (touch === null) {
this.primaryTouchIdentifier = null;
- this.contextMenuPreviousRange = null;
this.scrollPrevent = false;
this.setContextMenuPrevent(false, true);
this.setMouseDownPrevent(false, true);
@@ -443,7 +441,6 @@ class Frontend {
}
else {
this.primaryTouchIdentifier = touch.identifier;
- this.contextMenuPreviousRange = this.textSourceCurrent !== null ? this.textSourceCurrent.clone() : null;
this.scrollPrevent = false;
this.setContextMenuPrevent(false, false);
this.setMouseDownPrevent(false, false);