User:Minooz/OSD600/FF/patchNewTab

From CDOT Wiki
< User:Minooz‎ | OSD600‎ | FF
Jump to: navigation, search
diff -r cd84bf75a03a browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml	Wed Mar 30 17:41:25 2011 -0400
+++ b/browser/base/content/tabbrowser.xml	Wed Mar 30 17:52:21 2011 -0400
@@ -1335,27 +1335,24 @@
             // activeness in the tab switcher.


-            if ((aRelatedToCurrent == null ? aReferrerURI : aRelatedToCurrent) &&
-                Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) {
               let newTabPos = (this._lastRelatedTab ||
                                this.selectedTab)._tPos + 1;
               if (this._lastRelatedTab)
                 this._lastRelatedTab.owner = null;
               else
                 t.owner = this.selectedTab;
               this.moveTabTo(t, newTabPos);
               this._lastRelatedTab = t;
-            }