Modal "dialog" HTML element demo [resolved]

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.

Please try and include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
iyutr
Newbie
Newbie
Posts: 6
Joined: 2021-03-01, 22:05

Modal "dialog" HTML element demo [resolved]

Unread post by iyutr » 2021-10-19, 21:26

1) I've enabled dom.dialog_element.enabled = true (after https://caniuse.com/dialog).
2) click on button "Click me" in https://alligator.io/html/dialog-element/, dialog does not appear,
3) InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
https://alligator.io/html/dialog-element/:91:360

But In Chrome dialog appears.
Last edited by iyutr on 2021-10-19, 21:40, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 31064
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Modal "dialog" HTML element demo

Unread post by Moonchild » 2021-10-19, 21:28

Don't mess around in about:config if you don't know what you're doing.
"Remember, only you can prevent Earth's destruction by spelling Pale Moon with a space." -- Athenian200
Image

User avatar
iyutr
Newbie
Newbie
Posts: 6
Joined: 2021-03-01, 22:05

Re: Modal "dialog" HTML element demo

Unread post by iyutr » 2021-10-19, 21:33

Sorry, dialog appears. My mistake. There were not an issue.

Post Reply