From 8600a0af875a03965ffcba5477885769283804c9 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 24 Oct 2021 15:51:58 -0400 Subject: [PATCH] Add some extra parenthesis to make sure the logic works right --- web/skins/classic/views/js/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/watch.js b/web/skins/classic/views/js/watch.js index 66dabc7ec..6267fda75 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -917,7 +917,7 @@ function initPage() { }); // Only enable the settings button for local cameras - settingsBtn.prop('disabled', !(canView.Control && monitorType == 'Local')); + settingsBtn.prop('disabled', !(canView.Control && (monitorType == 'Local'))); // Init the bootstrap-table if (monitorType != 'WebSite') table.bootstrapTable({icons: icons});