diff --git a/ui/media/js/utils.js b/ui/media/js/utils.js index 09e1e502..50f5f162 100644 --- a/ui/media/js/utils.js +++ b/ui/media/js/utils.js @@ -45,6 +45,7 @@ function toggleCollapsible(element) { handle.innerHTML = '➖' // minus } } + document.dispatchEvent(new CustomEvent('collapsibleClick', { detail: collapsibleHeader })) if (COLLAPSIBLES_INITIALIZED && COLLAPSIBLE_PANELS.includes(element)) { saveCollapsibles()