evandrocoan 2020-04-17 03:52:55 -03:00
parent 38fabcef52
commit 67a8af0cbf

View File

@ -42,7 +42,9 @@ function _updateQA(html, fadeTime, onupdate, onshown) {
qa.html(
"Invalid HTML on card: " +
err +
("\n" + err.stack).replace(/\n/g, "<br />")
("\n" + err.stack)
.substring(0, 2000)
.replace(/\n/g, "<br />")
);
}
_runHook(onUpdateHook);