This commit is contained in:
Timothy Jaeryang Baek committed 2025-03-29 14:59:03 -07:00
1 parent 66015bb341
commit c2ff73c3e1
2 files changed
+28 -4

No files matched your search

@@ -84,7 +84,12 @@
}
if (floatingButtonsElement) {
floatingButtonsElement.closeHandler();
// check if closeHandler is defined
if (typeof floatingButtonsElement?.closeHandler === 'function') {
// call the closeHandler function
floatingButtonsElement?.closeHandler();
}
}
};