niutech / showModalDialog

window.showModalDialog polyfill using a <dialog> element
https://niutech.github.io/showModalDialog/demo.html
Apache License 2.0
177 stars 88 forks source link

Error Showing Dialog in FireFox #39

Closed HanyAHassan closed 5 years ago

HanyAHassan commented 6 years ago

I tried the js file in my project and it didn't work on FireFox browser, then I tried to run the demo and it showed me the same error in the console "dialog.showModal is not a function" I'm using the following version of FireFox : image and here's a screenshot of the error : image

niutech commented 5 years ago

This is a duplicate of #29 and #31.