Browse Source

Removed unused params

pull/1922/head
Ramiro Saenz 7 years ago
parent
commit
38e9ac6a3a
  1. 6
      resources/js/rambox-service-api.js

6
resources/js/rambox-service-api.js

@ -39,9 +39,9 @@ Notification = function(title, options) {
});
//It seems that gmail is checking if such event handler func are available. Just remplacing them by a void function that is always returning true is making the thing right!
notification.addEventListener = function(a, b) {return true};
notification.attachEvent = function(a, b) {return true};
notification.addListener = function(a, b) {return true};
notification.addEventListener = function() {return true};
notification.attachEvent = function() {return true};
notification.addListener = function() {return true};
return notification;
}

Loading…
Cancel
Save