Merge pull request #294 from yuya-oc/fix-notification-shim
Fix Notification shim not working when clicking
This commit is contained in:
commit
8dd5179d9d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue