Add some extra parenthesis to make sure the logic works right

This commit is contained in:
Isaac Connor 2021-10-24 15:51:58 -04:00 committed by Isaac Connor
parent 06f1ab4d46
commit 8600a0af87
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ function initPage() {
}); });
// Only enable the settings button for local cameras // 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 // Init the bootstrap-table
if (monitorType != 'WebSite') table.bootstrapTable({icons: icons}); if (monitorType != 'WebSite') table.bootstrapTable({icons: icons});