From f37294e652e2d96b247a7782ea2bcf8f866c7098 Mon Sep 17 00:00:00 2001 From: Eugen Ciur <eugen@papermerge.com> Date: Tue, 1 Feb 2022 16:10:00 +0200 Subject: [PATCH] remove unused variable --- app/modifiers/ui_select.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/modifiers/ui_select.js b/app/modifiers/ui_select.js index 4b24725..02438b7 100644 --- a/app/modifiers/ui_select.js +++ b/app/modifiers/ui_select.js @@ -42,7 +42,6 @@ class Rectangle { let x_is_within = false, y_is_within = false; - if (this.x <= x && x <= this.x + this.width) { x_is_within = true; } @@ -96,7 +95,7 @@ class UISelect { } update(x, y) { - let height, width, top, left, at_least_one_selected = false; + let height, width, top, left; this.show(x, y); -- GitLab