diff --git a/webif/html/pkg/script.js b/webif/html/pkg/script.js index bdbd557..eb5d957 100644 --- a/webif/html/pkg/script.js +++ b/webif/html/pkg/script.js @@ -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); } });