Skip to content

Commit

Permalink
Auto dismiss browser notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhartless committed Apr 29, 2015
1 parent 3e321bf commit cac504d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/bundles/CoreBundle/Assets/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ var Mautic = {
setupBrowserNotifier: function () {
//request notification support
notify.requestPermission();
notify.config({
autoClose: 10000
});

Mautic.browserNotifier = {
isSupported: notify.isSupported,
Expand Down

0 comments on commit cac504d

Please sign in to comment.