refac: admin models settings

This commit is contained in:
Timothy Jaeryang Baek
2024-11-25 22:57:54 -08:00
parent f9e24968e3
commit 29fac5ecca
2 changed files with 11 additions and 3 deletions

View File

@@ -688,6 +688,7 @@
)
) {
// Prevent Enter key from creating a new line
// Uses keyCode '13' for Enter key for chinese/japanese keyboards
if (e.keyCode === 13 && !e.shiftKey) {
e.preventDefault();
}