pnotify
pnotify copied to clipboard
The alert background color is not revert after the error function call
Hi,
I have used Pnotify,
For alert I used:
PNotify.alert(opts);
For error I used:
PNotify.error(opts);
When I run alert function more the one time it works properly, but when the error function call and then after I call the alert without page refresh the alert's background color remain the same as of error.
I notice that the error related class are not removed when I call alert after the error
I highly recommend you use PNotofy.removeAll();
every time you use a PNotify notifications to avoid multiple notifications on the screen.
Let me know if that works for you.