fix: remove ES6 export keyword for browser compatibility

This commit is contained in:
2026-03-24 19:08:14 +05:30
parent 31468e77c5
commit d998b03ca1
+3 -2
View File
@@ -2,7 +2,7 @@
* ModalManager - Unified modal system with accessibility support
* @version 4.0.0
*/
export class ModalManager {
class ModalManager {
#modal;
#backdrop;
#options;
@@ -124,7 +124,8 @@ export class ModalManager {
// Track open modals
ModalManager.#openModals.push(this);
// Show modal
// Show modal (remove hidden, add open)
this.#modal.classList.remove('hidden');
this.#modal.classList.add('open');
this.#isOpen = true;