fix: revert to es5 function syntax
This commit is contained in:
parent
91b31860a1
commit
c450b70bcc
|
@ -165,7 +165,7 @@ self.addEventListener('notificationclick', function(event) {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
self.addEventListener('message', event => {
|
self.addEventListener('message', function(event) {
|
||||||
if('lastAction' in event.data){
|
if('lastAction' in event.data){
|
||||||
lastAction = event.data.lastAction;
|
lastAction = event.data.lastAction;
|
||||||
}});
|
}});
|
||||||
|
|
Loading…
Reference in New Issue