Skip to content

Commit

Permalink
fix #1886: soft navigation in firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jan 13, 2025
1 parent 30ef76c commit 3e3744a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/navigation-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function onNavigation(data) {
function onFakeNavigation(data) {
onNavigation.call(this, data);
const {tabId} = data;
const td = tabCache.has(tabId); if (!td) return;
const td = tabCache.get(tabId); if (!td) return;
const {url, frameId: f, documentId: d} = data;
const iid = !__.MV3 && !d && td.iid?.[f];
const to = __.MV3 || d ? {documentId: d} : {frameId: f};
Expand Down

0 comments on commit 3e3744a

Please # to comment.