fix: revert to es5 function syntax

This commit is contained in:
Jeff Wong 2018-05-04 15:42:48 -07:00
parent 91b31860a1
commit c450b70bcc
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ self.addEventListener('notificationclick', function(event) {
);
});
self.addEventListener('message', event => {
self.addEventListener('message', function(event) {
if('lastAction' in event.data){
lastAction = event.data.lastAction;
}});