argh, javascript

pull/1/head
David Baker 2015-07-03 16:35:06 +01:00
parent 1baaf39c48
commit b8f9cb44b8
1 changed files with 2 additions and 1 deletions

View File

@ -43,8 +43,9 @@ module.exports = {
enable: function() { enable: function() {
if (!this.havePermission()) { if (!this.havePermission()) {
var that = this;
global.Notification.requestPermission(function() { global.Notification.requestPermission(function() {
this.forceUpdate(); that.forceUpdate();
}); });
} }