- Issue created by @jofitz
- Merge request !19Enable checking existence of popup block identified by class → (Open) created by jofitz
- Issue was unassigned.
- Status changed to Needs review
10 months ago 10:54am 6 March 2024
In the code to check whether the popup block exists, it is assumed that the identifier is an ID (when it might be a class):
// Check to see if the block exists in the current page.
var element = document.getElementById(block_id);
Check whether the block identifier has been registered as an ID or a class (using values.css_selector
)
Needs review
3.0
Code