s/that/self/g
This commit is contained in:
parent
0d34728190
commit
10cdf46c2c
10 changed files with 83 additions and 38 deletions
|
@ -43,9 +43,9 @@ module.exports = {
|
|||
|
||||
enable: function() {
|
||||
if (!this.havePermission()) {
|
||||
var that = this;
|
||||
var self = this;
|
||||
global.Notification.requestPermission(function() {
|
||||
that.forceUpdate();
|
||||
self.forceUpdate();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue