mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 14:56:14 +00:00
Fix tab position calculation to ensure new tabs are inserted correctly after the current tab
This commit is contained in:
@@ -79,7 +79,7 @@
|
|||||||
skipBackgroundNotify: true,
|
skipBackgroundNotify: true,
|
||||||
insertTab: true,
|
insertTab: true,
|
||||||
skipLoad: false,
|
skipLoad: false,
|
||||||
index: this.getTabPosition(currentTab),
|
index: this.getTabPosition(currentTab) + 1,
|
||||||
};
|
};
|
||||||
currentTab._selected = true;
|
currentTab._selected = true;
|
||||||
const newUUID = gZenUIManager.generateUuidv4();
|
const newUUID = gZenUIManager.generateUuidv4();
|
||||||
|
Reference in New Issue
Block a user