vpat 44 followup: no escape handler in editors (#4776)
This commit is contained in:
parent
7c9a0ac624
commit
8a6bc2cb10
1 changed files with 0 additions and 7 deletions
|
@ -942,13 +942,6 @@ var Scaffold = new function () {
|
|||
}
|
||||
}
|
||||
}, true);
|
||||
// On Escape, focus the selected tab. Use non-capturing listener to not
|
||||
// do anything on Escape events handled by the editor (e.g. to dismiss autocomplete popup)
|
||||
doc.addEventListener("keydown", (event) => {
|
||||
if (event.key == "Escape") {
|
||||
tabbox.selectedTab.focus();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue