Open tiliv opened 9 years ago
This line makes a 0 fall back to the global config.
0
https://github.com/cgross/angular-notify/blob/4d159b6ebec256409341ba707a9838e93827f523/angular-notify.js#L21
args.duration = args.duration ? args.duration : defaultDuration;
You can pass duration as string to work around this bug.
notify({message: 'Hello World', duration: '0'});
This was an issue I ran into, and this comment helped a lot.
:+1:
This line makes a
0
fall back to the global config.https://github.com/cgross/angular-notify/blob/4d159b6ebec256409341ba707a9838e93827f523/angular-notify.js#L21