Skip to content

Commit

Permalink
[FB] BMS | BBug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
surapunoyousei committed Feb 22, 2024
1 parent 52c97e1 commit f9878e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion browser/modules/URILoadingHelper.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,9 @@ export const URILoadingHelper = {
});
targetBrowser = tabUsedForLoad.linkedBrowser;

w.gBrowser.selectedTab = tabUsedForLoad;
if(!Services.prefs.getBoolPref("browser.tabs.loadInBackground")) {
w.gBrowser.selectedTab = tabUsedForLoad;
}
// End Floorp Injection

resolveOnNewTabCreated?.(targetBrowser);
Expand Down

0 comments on commit f9878e8

Please sign in to comment.