Remove white space before testing length

This commit is contained in:
prpr 2023-05-30 00:40:08 +01:00
parent bafa8fcfd3
commit 7bac247e48
1 changed files with 1 additions and 1 deletions

View File

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