Skip to content

Commit

Permalink
Apply "new tab command" tab behavior correctly (regression) #3527
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 10, 2024
1 parent d6745eb commit ebc9bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webextensions/common/Tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default class Tab {
// "Blank Page" is chosen as the new tab page. So we can detect the case
// safely here.
// (confirmed on Firefox 124)
if (isNewTabCommandTab(this.tab.url))
if (isNewTabCommandTab(this.tab))
return true;

// Firefox always opens a blank tab as the placeholder, when trying to
Expand Down

0 comments on commit ebc9bb5

Please sign in to comment.