Skip to content

Commit

Permalink
Chore: eslint (skin.js)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorA100 authored May 27, 2024
1 parent eaaa9bf commit 4a85901
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/skins/classic/js/skin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'], {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 4a85901

Please sign in to comment.