mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: also trigger link update at contentNew
This commit is contained in:
1 parent
4d6efdc37f
commit
2a4169d02b
3 files changed
+5
-2
No files matched your search
@@ -2,4 +2,7 @@ import { AutoloadPage } from 'vj/misc/Page';
|
||||
|
||||
export default new AutoloadPage('problemListPage', () => {
|
||||
$('.col--problem-name>a').attr('target', '_blank');
|
||||
$(document).on('vjContentNew', () => {
|
||||
$('.col--problem-name>a').attr('target', '_blank');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user