Nickersoft / push.js

The world's most versatile desktop notifications framework :earth_americas:
https://pushjs.org
MIT License
8.76k stars 548 forks source link

Fix "addEventListener is not a function" #267

Closed onedevlad closed 3 years ago

onedevlad commented 4 years ago

Hey! We kept getting "a.addEventListener is not a function" from this part of the code in our Electron environment. We believe this may have to do with #68 and it was partially fixed by #75. In our case this issue is caused by notification being an empty object.