kamranahmedse / jquery-toast-plugin

Highly customizable jquery plugin to show toast messages
http://kamranahmed.info/toast
1.51k stars 507 forks source link

Plugin is broken in IE 8 #44

Open seneyr opened 6 years ago

seneyr commented 6 years ago

When I try to use the 1.3.2 release of the plugin with IE 8, I get a script error on line 47. The error reported by IE is "Expectred identifier, string or number":

Message: Expected identifier, string or number Line: 47 Char: 17 Code: 0 URI: https://localdev.webserver.com/assets/js/jquery.toast.js

taniwha100 commented 6 years ago

class is key word for ie please edit class: "jq-toast-single" - > "class": "jq-toast-single" this.options.class -> this["options"]["class"]