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

Is there a way to force close all open growl notifications? #50

Open
jsonck opened this issue Sep 17, 2018 · 2 comments
Open

Is there a way to force close all open growl notifications? #50

jsonck opened this issue Sep 17, 2018 · 2 comments

Comments

@jsonck
Copy link

jsonck commented Sep 17, 2018

We're using turbolinks on rails, and it seems the growl's show up for a split second before turbolinks wipes them out on the new page load. Force closing all open growl notifications via Jquery on page change should solve the split second appearing issue. Is there a quick way to do it?

@jsonck jsonck changed the title Is there a way to force close all open growl notifications via Jquery? Is there a way to force close all open growl notifications? Sep 17, 2018
@slead
Copy link

slead commented Jun 16, 2020

There may be an official way to do this, but a quick+dirty workaround is to switch them off using $("#growls").hide();

@favistech
Copy link

Needed this behavior and used the following: $(".growl-close").click();. Hope it helps.

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

3 participants