diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-08-19 15:10:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-19 15:10:00 -0500 |
| commit | 9067de3b7e8dac54e57bf63f44be2849f24124a9 (patch) | |
| tree | ac32c1f657e5dbdcea2f9f3075c3255621d28fbc /webAO | |
| parent | 5fdf3c52bc794217f23ead0c7afdc79bfb042be3 (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')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index a8d62569..1a5ad104 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); |
