diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 8eee4e3ae45..11f4908ff34 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -968,7 +968,7 @@ // can occur when "browser.tabs.loadInBackground" is false and presshell is not ready if (!bgLoad) { function selectNewForegroundTab(browser, tab) { - this.selectedTab = tab; + browser.selectedTab = tab; } setTimeout(selectNewForegroundTab, 0, getBrowser(), tab); }