mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 10:00:17 +05:30
fix: remove ES6 export keyword for browser compatibility
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user