diff --git a/src/browser/js/notification.js b/src/browser/js/notification.js index e2ab532a..8ce3a23c 100644 --- a/src/browser/js/notification.js +++ b/src/browser/js/notification.js @@ -52,7 +52,7 @@ function override(eventHandlers) { defineReadProperty(event); Notification.prototype.__defineSetter__(event, function(originalCallback) { this.notification[event] = function() { - callbackevent = { + const callbackevent = { preventDefault: function() { this.isPrevented = true; }