mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Fix #4168: make current tab appear at bottom
This commit is contained in:
parent
56d4427418
commit
2f19842820
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ export class BufferCompletionSource extends Completions.CompletionSourceFuse {
|
|||
const useMruTabOrder = config.get("tabsort") === "mru"
|
||||
if (!useMruTabOrder) {
|
||||
tabs.sort((a, b) => a.index - b.index)
|
||||
} else {
|
||||
tabs.push(tabs.shift()) // If using MRU, move the current tab to the bottom (issue #4168)
|
||||
}
|
||||
|
||||
const container_all = await browserBg.contextualIdentities.query({})
|
||||
|
|
Loading…
Add table
Reference in a new issue