Fix bug where notiifcation api is not supported

This commit is contained in:
Tankred Hase 2014-12-19 14:22:46 +01:00
parent 3cc0a372e1
commit b44d0a222a
1 changed files with 3 additions and 1 deletions

View File

@ -58,5 +58,7 @@ Notif.prototype.create = function(options) {
};
Notif.prototype.close = function(notification) {
notification.close();
if (notification) {
notification.close();
}
};