diff --git a/browser/metro/base/content/helperui/FindHelperUI.js b/browser/metro/base/content/helperui/FindHelperUI.js index b0580febbd7..82d9d915b3d 100644 --- a/browser/metro/base/content/helperui/FindHelperUI.js +++ b/browser/metro/base/content/helperui/FindHelperUI.js @@ -50,10 +50,6 @@ var FindHelperUI = { messageManager.addMessageListener("FindAssist:Show", this); messageManager.addMessageListener("FindAssist:Hide", this); - // Listen for pan events happening on the browsers - Elements.browsers.addEventListener("PanBegin", this, false); - Elements.browsers.addEventListener("PanFinished", this, false); - // Listen for events where form assistant should be closed Elements.tabList.addEventListener("TabSelect", this, true); Elements.browsers.addEventListener("URLChanged", this, true); @@ -91,16 +87,6 @@ var FindHelperUI = { this.hide(); break; - case "PanBegin": - this._container.style.visibility = "hidden"; - this._textbox.collapsed = true; - break; - - case "PanFinished": - this._container.style.visibility = "visible"; - this._textbox.collapsed = false; - break; - case "keydown": if (aEvent.keyCode == Ci.nsIDOMKeyEvent.DOM_VK_RETURN) { if (aEvent.shiftKey) {