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
parent 1e38cf8bb7
commit a55bd23bf6
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,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});