Closed Kln95130 closed 3 years ago
I had a hunch, and I checked the Javascript documentation.
This is actually a browser-based issue. showModal is incompatible with Firefox. Is there a way to find an alternative solution for people, players and devs alike, who use this browser?
Thanks for highlighting that issue.
It looks like this is something that Firefox supported, but in an update it was changed so the user has to explicitly allow it, presumable as a security feature. See the compatibility table on this page: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/showModal
One solution would be to send users to this page, to accept the risk and continue, and then click "Show all", fine "dom.dialog_element.enabled" and toggle it to "true".
Howewver, that is not ideal! I will look at a better solution.
Turned out to be easy to correct. It now just uses "show" instead of "showModal", and disables/enables the interface itself.
You will need to download the updated files from GitHub as it is not in a release yet.
Hello. I am trying to have a character creation window, as shown here: https://github.com/ThePix/QuestJS/wiki/Character-Creation
However, I have the following error:
The function seems to have been removed at some point, as it is only present as a call in setUpDialog