Fix linting

This commit is contained in:
Nick O'Leary
2024-05-13 14:33:35 +01:00
parent 18d0fa2259
commit a745ddc164
2 changed files with 12 additions and 12 deletions

View File

@@ -223,7 +223,7 @@ RED.notifications = (function() {
}
newTimeout = newOptions.hasOwnProperty('timeout')?newOptions.timeout:timeout
if (!fixed || newOptions.fixed === false) {
newTimeout === newTimeout || 5000
newTimeout = newTimeout || 5000
}
if (newOptions.buttons) {
var buttonSet = $('<div class="ui-dialog-buttonset"></div>').appendTo(nn)