Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yatinB07 opened this issue Jul 4, 2020 · 1 comment
Open

Comments

@yatinB07
Copy link

yatinB07 commented Jul 4, 2020

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

@irving-caamal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants