From aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 9 Sep 2018 08:25:50 +0200 Subject: Revert "Transfer findbar data to torn-off tabs." This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20. --- application/palemoon/base/content/tabbrowser.xml | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'application/palemoon') diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index e99b813c9..c14014003 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -2303,17 +2303,6 @@ this._swapBrowserDocShells(aOurTab, otherBrowser); } - // Handle findbar data (if any) - let otherFindBar = aOtherTab._findBar; - if (otherFindBar && - otherFindBar.findMode == otherFindBar.FIND_NORMAL) { - let ourFindBar = this.getFindBar(aOurTab); - ourFindBar._findField.value = otherFindBar._findField.value; - if (!otherFindBar.hidden) { - ourFindBar.onFindCommand(); - } - } - // Finish tearing down the tab that's going away. remoteBrowser._endRemoveTab(aOtherTab); -- cgit v1.2.3