mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
argh, javascript
This commit is contained in:
parent
1baaf39c48
commit
b8f9cb44b8
1 changed files with 2 additions and 1 deletions
|
@ -43,8 +43,9 @@ module.exports = {
|
|||
|
||||
enable: function() {
|
||||
if (!this.havePermission()) {
|
||||
var that = this;
|
||||
global.Notification.requestPermission(function() {
|
||||
this.forceUpdate();
|
||||
that.forceUpdate();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue