diff --git a/browser/base/content/tabbrowser.js b/browser/base/content/tabbrowser.js index 3d5878ea6fa6..fb83c162e1b9 100644 --- a/browser/base/content/tabbrowser.js +++ b/browser/base/content/tabbrowser.js @@ -3422,7 +3422,7 @@ window._gBrowser = { if (contextTab.multiselected) { tabs = this.selectedTabs; } else { - tabs = [gBrowser.selectedTab]; + tabs = [contextTab]; } if (this.tabs.length == tabs.length) {