diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-09 08:25:50 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-09 08:25:50 +0200 |
commit | aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d (patch) | |
tree | 5ed42b87e8bbb90587c85ddbeea47af6116039ff /application/palemoon/base/content | |
parent | b1a98da75325c6b57129becf9027dccf7424c1c0 (diff) | |
download | UXP-aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d.tar UXP-aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d.tar.gz UXP-aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d.tar.lz UXP-aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d.tar.xz UXP-aa9cd0d77dcdfc9daddc4f8b78d4578d2507018d.zip |
Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
Diffstat (limited to 'application/palemoon/base/content')
-rw-r--r-- | application/palemoon/base/content/tabbrowser.xml | 11 |
1 files changed, 0 insertions, 11 deletions
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); |