jpillora / notifyjs

Notify.js - A simple, versatile notification library
https://notifyjs.jpillora.com/
MIT License
1.91k stars 740 forks source link

IE8 bind fails #98

Open Drumstix42 opened 7 years ago

Drumstix42 commented 7 years ago

In using and testing this in a couple browsers, I noticed that IE8 (or higher browsers in compatibility mode) would fail. Upon further investigation it is due to the .bind method not existing in IE8.

I found this stackoverflow page and was able to successfully get around this error using a polyfill: http://stackoverflow.com/questions/11054511/how-to-handle-lack-of-javascript-object-bind-method-in-ie-8

I'm not sure the best way to solve this from the plugin side, so I've opened this bug.