Browse Source

[FIX] set minimum timeout

experimental
Georgi Hristov 3 years ago
parent
commit
99fd477bf7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/Base/Notify/js/main.js

+ 1
- 1
modules/Base/Notify/js/main.js View File

@@ -57,7 +57,7 @@ var Base_Notify = {
n = new Notification(title, opts);
}

if (n && jq.isNumeric(timeout)) {
if (n && jq.isNumeric(timeout) && timeout > 5000) {
setInterval(n.close.bind(n), timeout);
}
},


Loading…
Cancel
Save