Skip to content

Commit 8a64435

Browse files
author
minjk-bl
committed
bug fix
1 parent 994f464 commit 8a64435

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api_block/init.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,8 @@ define([
625625
}
626626
if (e.keyCode == escKey) {
627627
// close popup on esc
628-
if (blockContainer.getFocusedPageType() != FOCUSED_PAGE_TYPE.NULL) {
628+
if (blockContainer.getFocusedPageType() != FOCUSED_PAGE_TYPE.NULL
629+
&& blockContainer.appsMenu) {
629630
blockContainer.appsMenu.close();
630631
}
631632
}

0 commit comments

Comments
 (0)