ui: also trigger link update at contentNew

This commit is contained in:
undefined committed 2021-07-29 17:34:04 +08:00
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');
});
});