From 4a85901c448d6bc44a86a84e37ceb44c008fcc09 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Mon, 27 May 2024 16:17:30 +0300 Subject: [PATCH] Chore: eslint (skin.js) --- web/skins/classic/js/skin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/skins/classic/js/skin.js b/web/skins/classic/js/skin.js index 3ccf41f81f..5771261c4b 100644 --- a/web/skins/classic/js/skin.js +++ b/web/skins/classic/js/skin.js @@ -1204,15 +1204,15 @@ var zmPanZoom = { param = param['id'] : monitor id */ action: function(action, param) { - const _this = this; - if (action == "enable") { + const _this = this; + if (action == "enable") { var id; if ($j(param['obj']).children('[id ^= "liveStream"]')[0]) { id = stringToNumber($j(param['obj']).children('[id ^= "liveStream"]')[0].id); //Montage page } else { id = eventData.MonitorId; //Event page } - + $j('.btn-zoom-in').removeClass('hidden'); $j('.btn-zoom-out').removeClass('hidden'); this.panZoom[id] = Panzoom(param['obj'], { @@ -1321,7 +1321,7 @@ var zmPanZoom = { } }, - click: function(id) { + click: function(id) { if (this.ctrled && this.shifted) { this.panZoom[id].zoom(1, {animate: true}); } else if (this.ctrled) {