We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e21cf commit 226bb65Copy full SHA for 226bb65
js/activity.js
@@ -479,12 +479,14 @@ class Activity {
479
if (docById("helpfulWheelDiv").style.display !== "none") {
480
docById("helpfulWheelDiv").style.display = "none";
481
}
482
- if (docById("helpfulSearchDiv").style.display !== "none" && e.target.id !== "helpfulSearch") {
+ if (docById("helpfulSearchDiv").style.display !== "none" && !docById("helpfulSearchDiv").contains(e.target) && e.target.id !== "helpfulSearch") {
483
docById("helpfulSearchDiv").style.display = "none";
484
485
that.__tick();
486
487
488
+ document.addEventListener("click", this._hideHelpfulSearchWidget);
489
+
490
/*
491
* Sets up right click functionality opening the context menus
492
* (if block is right clicked)
0 commit comments