Skip to content

Commit bea88d5

Browse files
committed
优化 逻辑
1 parent e474f20 commit bea88d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lanzou-Enhanced.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@
827827
if (allButtons === undefined && menu_value('menu_fileSort')) {
828828
allButtons = createAllButtons();
829829
// console.log(allButtons);
830-
allButtons[currentStatus.by].el.textContent = '⬆';
830+
allButtons[currentStatus.by].el.textContent = currentStatus.order === 'asc' ? '⬆' : '⬇';
831831
}
832832
}, 500);
833833

0 commit comments

Comments
 (0)