Merge pull request #294 from yuya-oc/fix-notification-shim
Fix Notification shim not working when clicking
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user