fix: prevent event bubbling on save-as input keydown to avoid triggering parent listeners
This commit is contained in:
@@ -1609,6 +1609,7 @@
|
||||
}
|
||||
});
|
||||
inp.addEventListener("keydown", (e) => {
|
||||
e.stopPropagation();
|
||||
if (e.key === "Enter")
|
||||
document.getElementById("d-saveas-ok").click();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user