ui: 在新标签页中打开题目

This commit is contained in:
undefined committed 2021-07-20 23:13:01 +08:00
1 parent f38c749479
commit 9a173e0d37
3 files changed
+8 -1

No files matched your search

+2
View File
@@ -50,6 +50,8 @@ class UserLoginHandler extends Handler {
} }
class UserLogoutHandler extends Handler { class UserLogoutHandler extends Handler {
noCheckPermView = true;
async get() { async get() {
this.response.template = 'user_logout.html'; this.response.template = 'user_logout.html';
} }
@@ -0,0 +1,5 @@
import { AutoloadPage } from 'vj/misc/Page';
export default new AutoloadPage('problemListPage', () => {
$('.col--problem-name>a').attr('target', '_blank');
});
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.12.27", "version": "4.12.28",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",