diff --git a/dom/browser-element/BrowserElementPanning.js b/dom/browser-element/BrowserElementPanning.js index 98678bae73e4..c8f53057414d 100644 --- a/dom/browser-element/BrowserElementPanning.js +++ b/dom/browser-element/BrowserElementPanning.js @@ -115,9 +115,7 @@ const ContentPanning = { }, observe: function cp_observe(subject, topic, data) { - if (topic === 'BEC:ShownModalPrompt') { - this._resetHover(); - } + this._resetHover(); }, position: new Point(0 , 0),