feat(dnfs): 用户面板折叠时不再显示用户名,仅显示展开按钮
This commit is contained in:
1 parent
9dd16e0eef
commit
85c9699758
1 file changed
+1
-1
@@ -1022,7 +1022,7 @@ function renderUserPanel() {
|
||||
if (userpanel_expand) {
|
||||
fold.textContent = "v 折叠";
|
||||
} else {
|
||||
fold.textContent = "> " + (current_user.login ? current_user.user : "未登录");
|
||||
fold.textContent = "> 展开";
|
||||
}
|
||||
fold.addEventListener("click", () => {
|
||||
userpanel_expand = !userpanel_expand;
|
||||
|
||||
Reference in new issue
Block a user