pnotify icon indicating copy to clipboard operation
pnotify copied to clipboard

The alert background color is not revert after the error function call

Open yatinB07 opened this issue 4 years ago • 1 comments

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

yatinB07 avatar Jul 04 '20 08:07 yatinB07

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.

irving-caamal avatar Nov 30 '20 16:11 irving-caamal