Merge pull request #294 from yuya-oc/fix-notification-shim

Fix Notification shim not working when clicking
This commit is contained in:
Yuya Ochiai 2016-09-20 01:37:30 +09:00 committed by GitHub
commit 8dd5179d9d

View file

@ -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;
}