mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Make most recent tab usually appear at top
This commit is contained in:
parent
b4ba80bd13
commit
5a738563b3
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ export class TabHistoryCompletionSource extends Completions.CompletionSourceFuse
|
||||||
let history = await browserBg.sessions.getTabValue(tab[0].id, "history")
|
let history = await browserBg.sessions.getTabValue(tab[0].id, "history")
|
||||||
if (!history) history = { list: [] }
|
if (!history) history = { list: [] }
|
||||||
const tree = this.makeTree(history["list"])
|
const tree = this.makeTree(history["list"])
|
||||||
history["list"] = this.flattenTree(tree[0])
|
history["list"] = this.flattenTree(tree[0]).reverse()
|
||||||
this.addIndicies(history["list"])
|
this.addIndicies(history["list"])
|
||||||
this.addFormatTimeSpan(history["list"])
|
this.addFormatTimeSpan(history["list"])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue