[design] improve keyabord esc order

This commit is contained in:
zombieFox 2019-12-02 00:14:47 +00:00
parent f773a156ab
commit 5b1c0ee979

View File

@ -18,6 +18,8 @@ var keyboard = (function() {
link.add.item.close(); link.add.item.close();
} else if (state.get().group.add) { } else if (state.get().group.add) {
link.add.group.close(); link.add.group.close();
} else if (state.get().link.edit && state.get().modal) {
link.add.item.close();
} else if (state.get().link.edit) { } else if (state.get().link.edit) {
link.edit.close(); link.edit.close();
data.save(); data.save();