Skip to content

Commit 9ef0dd0

Browse files
committed
fix(view) key binding after click outside the modal window
1 parent 1521abf commit 9ef0dd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/modules/view.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ function onOverLayClick(event) {
355355
return;
356356

357357
hideOverlay();
358+
hide();
358359

359360
const element = DOM.getCurrentByPosition(position);
360361

@@ -373,8 +374,6 @@ function onOverLayClick(event) {
373374
return;
374375

375376
DOM.setCurrentFile(element);
376-
377-
hide();
378377
}
379378

380379
function hideOverlay() {

0 commit comments

Comments
 (0)