mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-30 22:30:38 +02:00
fix edit close on esc keyboard shortcut
This commit is contained in:
@ -19,6 +19,8 @@ keyboard.esc = new KeyboardShortcut({
|
|||||||
action: () => {
|
action: () => {
|
||||||
if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) {
|
if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) {
|
||||||
bookmark.edit.close();
|
bookmark.edit.close();
|
||||||
|
group.edit.close();
|
||||||
|
header.edit.close();
|
||||||
toolbar.current.update.edit();
|
toolbar.current.update.edit();
|
||||||
};
|
};
|
||||||
data.save();
|
data.save();
|
||||||
|
Reference in New Issue
Block a user