From a55bd23bf65a1036c3770155513d3e7e2071dc0a 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 8c8ea480d..aacad5126 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -945,7 +945,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});