Skip to content

Commit 88f9af5

Browse files
authored
fixed issue (#6692)
1 parent 2f5685d commit 88f9af5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

js/activity.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3414,7 +3414,10 @@ class Activity {
34143414
document.getElementById("ui-id-1").contains(e.target))
34153415
) {
34163416
//do nothing when clicked on the menu
3417-
} else if (document.getElementsByTagName("tr")[2].contains(e.target)) {
3417+
} else if (
3418+
document.querySelector("#palette tbody tr") &&
3419+
document.querySelector("#palette tbody tr").contains(e.target)
3420+
) {
34183421
//do nothing when clicked on the search row
34193422
} else {
34203423
// this will hide the search bar if someone clicks on menu items

0 commit comments

Comments
 (0)