diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index fcf2f42fc..863930b39 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2349,8 +2349,9 @@ MessageTray.prototype = { } this._summaryBoxPointerState = State.HIDING; - // Unset this._clickedSummaryItem if we are no longer showing the summary - if (this._summaryState != State.SHOWN) + // Unset this._clickedSummaryItem if we are no longer showing the summary or if + // this._clickedSummaryItem is still the item associated with the currently showing box pointer + if (this._summaryState != State.SHOWN || this._summaryBoxPointerItem == this._clickedSummaryItem) this._unsetClickedSummaryItem(); this._focusGrabber.ungrabFocus();