From c2fe3ce1e8dfd206ecc67f6b20304f3031a08109 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 15 Oct 2024 18:10:05 -0400 Subject: [PATCH] Fix eslint --- .eslintignore | 2 +- web/js/MonitorStream.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintignore b/.eslintignore index c495c2faa..094cc2757 100644 --- a/.eslintignore +++ b/.eslintignore @@ -7,7 +7,7 @@ web/js/videojs.zoomrotate.js web/js/fontfaceobserver.standalone.js web/skins/classic/js/bootstrap-4.5.0.js web/skins/classic/js/bootstrap.bundle.min.js -web/skins/classic/js/bootstrap-table-1.23.3 +web/skins/classic/js/bootstrap-table-1.23.5 web/skins/classic/js/chosen web/skins/classic/js/dateTimePicker web/skins/classic/js/jquery-*.js diff --git a/web/js/MonitorStream.js b/web/js/MonitorStream.js index 7f930335b..ffc22fb49 100644 --- a/web/js/MonitorStream.js +++ b/web/js/MonitorStream.js @@ -41,7 +41,9 @@ function MonitorStream(monitorData) { this.buttons[name] = element; }; this.gridstack = null; - this.setGridStack = function(gs) { this.gridstack = gs; }; + this.setGridStack = function(gs) { + this.gridstack = gs; + }; this.bottomElement = null; this.setBottomElement = function(e) { @@ -727,7 +729,7 @@ function MonitorStream(monitorData) { if (analysisFPSValue.length && (analysisFPSValue.text() != monitor.AnalysisFPS)) { analysisFPSValue.text(monitor.AnalysisFPS); } - + if (captureFPSValue.length && (captureFPSValue.text() != monitor.CaptureFPS)) { captureFPSValue.text(monitor.CaptureFPS); }