mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
RED.notifiy.update should not change fixed state unless explicitly set
This commit is contained in:
parent
4b0eb8475d
commit
79a1d6c561
@ -222,7 +222,7 @@ RED.notifications = (function() {
|
||||
n.className = "red-ui-notification red-ui-notification-"+newType;
|
||||
}
|
||||
|
||||
if (!newOptions.fixed) {
|
||||
if (!fixed || newOptions.fixed === false) {
|
||||
newTimeout = (newOptions.hasOwnProperty('timeout')?newOptions.timeout:timeout)||5000;
|
||||
}
|
||||
if (newOptions.buttons) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user