From 3007993ad21e0b5d5b67d735663318ef00ccaa9b Mon Sep 17 00:00:00 2001 From: break27 Date: Fri, 8 May 2026 10:35:47 +0800 Subject: [PATCH] minor fix --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 345b5e8..a78266e 100644 --- a/index.html +++ b/index.html @@ -217,7 +217,7 @@ function main(profiles, args, status=null, error=null) { $('#dateto').valueAsNumber = date.setHours(24 * 7) + date.getTimezoneOffset() * 60 * 1000; $('#all').dispatchEvent(new Event('change')); - if (Object.hasOwn(args, 'account')) { + if (args['account'] && args['password']) { let account = new String(args['account']); let name = account.split('@', 1).pop(); name = name.charAt(0).toLocaleUpperCase() + name.slice(1);