aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2019-08-19 15:10:00 -0500
committerGitHub <noreply@github.com>2019-08-19 15:10:00 -0500
commit9067de3b7e8dac54e57bf63f44be2849f24124a9 (patch)
treeac32c1f657e5dbdcea2f9f3075c3255621d28fbc /webAO/client.js
parent5fdf3c52bc794217f23ead0c7afdc79bfb042be3 (diff)
Fix GitHub syntax highlighting for client.js
Whose idea was to put HTML syntax highlighting inside backtick strings, which doesn't get turned off if the element wasn't finished?
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index a8d6256..1a5ad10 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -859,7 +859,7 @@ class Client extends EventEmitter {
}
td.innerHTML = `<img class='demothing${icon_chosen}' id='demo_${i}' ` +
`src='${thispick}' alt='${this.chars[i].name}' onclick='pickChar(${i})' ` +
- "onerror='demoError(this);'>";
+ `onerror='demoError(this);'>`;
tr.appendChild(td);
if (i % CHAR_SELECT_WIDTH === 0) {
document.getElementById("client_chartable").appendChild(tr);