From 334c7a0a7606e7960e1785f5b73921457e4ded47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AC=BC=E5=BD=B1233?= <82418456+gui-ying233@users.noreply.github.com> Date: Thu, 28 Nov 2024 20:00:47 -0500 Subject: [PATCH] =?UTF-8?q?fix(Gadget/UserLinkAvatar):=20:bug:=20=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E5=8E=9F=E6=9C=89=E7=9A=84=20userlink-avatar=20?= =?UTF-8?q?=E7=B1=BB=20(#574)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.js b/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.js index 8ce9a6f0..3f93b938 100644 --- a/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.js +++ b/src/gadgets/UserLinkAvatar/MediaWiki:Gadget-UserLinkAvatar.js @@ -36,6 +36,7 @@ } }); + avatarLink.classList.add("userlink-avatar"); avatarLink.href = `https://commons.moegirl.org.cn/Special:ViewAvatar?user=${userName}`; avatarLink.target = "_blank"; avatarLink.title = "查看头像";