Don't alert with null string

This commit is contained in:
prpr 2023-05-19 01:43:15 +01:00
parent 62d63b2f84
commit b24ade080f
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ function execopkg(arg, pkg)
error: function(_, _, e) {
if (window.console)
console.log("ajax error");
alert(e);
if (e.length)
alert(e);
}
});
busy = false;