fix(view) key binding after click outside the modal window

This commit is contained in:
coderaiser 2017-07-26 16:05:05 +03:00
parent 1521abf34b
commit 9ef0dd02dd

View file

@ -355,6 +355,7 @@ function onOverLayClick(event) {
return;
hideOverlay();
hide();
const element = DOM.getCurrentByPosition(position);
@ -373,8 +374,6 @@ function onOverLayClick(event) {
return;
DOM.setCurrentFile(element);
hide();
}
function hideOverlay() {