improved message displaying

This commit is contained in:
huangjx
2022-02-23 20:56:30 +08:00
parent 5429581f95
commit cf8b07932b
6 changed files with 73 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ window.addEventListener('DOMContentLoaded', function () {
if (!data.status) {
if (data.error)
helper.message(data.error);
helper.error(data.error);
return;
}
let element = document.querySelector("#start-aria2 button");