mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Close modal when element or children are submitted
This commit is contained in:
1 parent
e23506ae92
commit
78da29af65
1 file changed
+1
@@ -102,6 +102,7 @@
|
||||
}
|
||||
|
||||
document.addEventListener('modal-close', close);
|
||||
element.addEventListener('submit', close);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user