Detect if Modal is on screen
-
Im am trying to inject another button into the
upload-picture-from-url-modal
. It seems i need to detect when it is displayed before i can do that..I have jumped through so many hoops to detect if the modal is visible adding code into the custom JS section of appearance.. If anyone can help here that would be great.
-
@julian said in Detect if Modal is on screen:
I'm not sure if that one bubbles though.
Yes. It should bubble.
To check:
// SOME MSG let msg = "Something"; alert(msg);
Above will ( or at least should ) "print"
Something
Copyright © 2024 NodeBB | Contributors