mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
d200f5b3b8
commit
add256d373
8 changed files with 24 additions and 24 deletions
|
|
@ -216,7 +216,7 @@ export class Files extends Model {
|
|||
if (!element) {
|
||||
document.querySelectorAll("ul.layout-tab-bar > .item--focus").forEach((item: HTMLElement, index) => {
|
||||
if (index === 0) {
|
||||
element = item
|
||||
element = item;
|
||||
} else if (item.dataset.activetime > element.dataset.activetime) {
|
||||
element = item;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue