Skip to content

Commit

Permalink
Revert this, no need to call .show(), and in fact it doesn't exist on…
Browse files Browse the repository at this point in the history
… all browsers.
  • Loading branch information
mrubinsk committed Dec 17, 2013
1 parent 9071b1c commit b32568c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/Core/js/hordecore.js
Expand Up @@ -442,11 +442,11 @@ var HordeCore = {
if (window.Notification && window.Notification.permission != 'granted') {
window.Notification.requestPermission(function(){
if (window.Notification.permission == 'granted') {
new window.Notification(msg.title, {body: msg.text, icon: msg.icon }).show();
new window.Notification(msg.title, {body: msg.text, icon: msg.icon });
}
});
} else if (window.Notification) {
new window.Notification(msg.title, {body: msg.text, icon: msg.icon }).show();
new window.Notification(msg.title, {body: msg.text, icon: msg.icon });
}
},

Expand Down

0 comments on commit b32568c

Please sign in to comment.