mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix bugs (#437)
This commit is contained in:
1 parent
ebad34a426
commit
e87149fd45
4 files changed
+3
-12
No files matched your search
@@ -12,7 +12,7 @@ export default new AutoloadPage('media', async () => {
|
||||
resolvers.push((html) => html && $(ele).replaceWith($(html)));
|
||||
};
|
||||
users.get().forEach((ele) => resolve(ele, { type: 'user', id: +$(ele).text() }));
|
||||
$dom.find('.typo').get().forEach((el) => {
|
||||
$dom.find('.typo').addBack('.typo').get().forEach((el) => {
|
||||
if (el.className.includes('no-media')) return;
|
||||
$(el).find('a[href]').get().forEach((ele) => {
|
||||
if ($(ele).parent().hasClass('user-profile-link')) return;
|
||||
|
||||
Reference in new issue
Block a user