Skip to content

Commit 08c5900

Browse files
Bug fix: Clicking the blank place in Overview page will trigger a command (#491)
1 parent fc14ebd commit 08c5900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/overview/assets/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ function installExtension(extName: string, displayName: string) {
5454
});
5555
}
5656

57-
$("div[ext]").click(function () {
58-
installExtension($(this).attr("ext") || "", $(this).attr("displayName") || "");
57+
$("div[ext] > a").click(function () {
58+
installExtension($(this.parentElement).attr("ext") || "", $(this.parentElement).attr("displayName") || "");
5959
});

0 commit comments

Comments
 (0)