evandrocoan 2020-04-17 03:52:55 -03:00
parent 8d9ba4377a
commit 4b3c452b6e

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);