Failing to use sweet warnings in IE 11

I am trying to use weak warnings in my application, working perfectly in all browsers except IE (version 11). Errors occur when I call the swal () function.

1.Object doesn't support property or method 'defineProperty'. 2. The value of the property 'swal' is null or undefined, not a Function object 

the first error comes from sweetalert.min.js, and the second from my script, where I call the swal function.

0
source share

All Articles