mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: 修复题目侧栏中用户头像显示两次的问题
This commit is contained in:
1 parent
aaae75baf3
commit
ecadd08cec
2 files changed
+2
-1
No files matched your search
@@ -13,6 +13,7 @@ export default new AutoloadPage('media', async () => {
|
||||
users.get().forEach((ele) => resolve(ele, { type: 'user', id: +$(ele).text() }));
|
||||
$dom.find('.typo').get().forEach((el) => {
|
||||
$(el).find('a[href]').get().forEach((ele) => {
|
||||
if ($(ele).parent().hasClass('user-profile-link')) return;
|
||||
let target = $(ele).attr('href');
|
||||
let { domainId } = UiContext;
|
||||
if (target.startsWith(UiContext.url_prefix)) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.11.28",
|
||||
"version": "4.11.29",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
Reference in new issue
Block a user