Skip to content

Commit 8dea5c6

Browse files
authored
ui fixes (#4714)
1 parent 11cdfdc commit 8dea5c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/activity.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,8 @@ class Activity {
27872787
//do nothing when clicked on the menu
27882788
} else if (document.getElementsByTagName("tr")[2].contains(e.target)) {
27892789
//do nothing when clicked on the search row
2790-
} else if (e.target.id === "myCanvas") {
2790+
} else {
2791+
// this will hide the search bar if someone clicks on menu items
27912792
that.hideSearchWidget();
27922793
document.removeEventListener("mousedown", closeListener);
27932794
}

0 commit comments

Comments
 (0)