aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorLeon Krause2018-01-06 15:53:04 +0100
committerLeon Krause2018-01-06 15:53:04 +0100
commitcf5b074a95c806c9a49cec98a4e0708dc8fb426f (patch)
tree1ba522a277bb4ebb9a0f12a220edc92b2073cb04 /misc
parent50181da8a1be0450cdabb713e571861e83028c29 (diff)
downloadgodot-cf5b074a95c806c9a49cec98a4e0708dc8fb426f.tar.gz
godot-cf5b074a95c806c9a49cec98a4e0708dc8fb426f.tar.zst
godot-cf5b074a95c806c9a49cec98a4e0708dc8fb426f.zip
Diffstat (limited to 'misc')
-rw-r--r--misc/dist/html/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/dist/html/default.html b/misc/dist/html/default.html
index 0f78fc640..a1a4e89d0 100644
--- a/misc/dist/html/default.html
+++ b/misc/dist/html/default.html
@@ -350,7 +350,7 @@ $GODOT_HEAD_INCLUDE
};
function printError(text) {
- if (!text.startsWith('**ERROR**: ')) {
+ if (!String.prototype.trim.call(text).startsWith('**ERROR**: ')) {
text = '**ERROR**: ' + text;
}
print(text);