Skip to content

Commit 4fcfef3

Browse files
author
minjk-bl
committed
jupyter/visualpython focusedpage setting fixed(now it works on clicking block too)
1 parent 6186768 commit 4fcfef3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/api_block/block.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,8 @@ define([
18011801
};
18021802

18031803
blockContainerThis.createAppsPage(menu, file, config);
1804-
break;
1804+
return;
1805+
// break;
18051806
}
18061807
}
18071808

@@ -2029,7 +2030,7 @@ define([
20292030
$(blockLineNumberInfoDom).find('.vp-apiblock-circle-play').css(STR_OPACITY, 1);
20302031
}
20312032

2032-
2033+
blockContainerThis.setFocusedPageType(FOCUSED_PAGE_TYPE.BOARD);
20332034
blockContainerThis.resetBlockListAndRenderThisBlock(thisBlock);
20342035

20352036
event.stopPropagation();

0 commit comments

Comments
 (0)