From 34cac8a4c711fa0dbd887981a240b5a125bc4c06 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 18 Oct 2021 09:15:57 +0300 Subject: removed unused code --- web/share/js/tools.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'web/share') diff --git a/web/share/js/tools.js b/web/share/js/tools.js index 26685cb4..63cbd509 100644 --- a/web/share/js/tools.js +++ b/web/share/js/tools.js @@ -131,7 +131,6 @@ export var tools = new function() { return { "setOnUp": function(el, delay, display_callback, execute_callback) { el.execution_timer = null; - el.activated = false; let clear_timer = function() { if (el.execution_timer) { @@ -144,7 +143,6 @@ export var tools = new function() { el.onmousedown = el.ontouchstart = function() { clear_timer(); - el.activated = true; }; el.onmouseup = el.ontouchend = function(event) { -- cgit v1.2.3