diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-03 18:31:47 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-03 22:56:32 +0100 |
commit | e45bc5b19e36c87b2c1127dee57abf58779271ca (patch) | |
tree | e433894190fb177aafe1029d92f6e5152065ce21 /play.js | |
parent | e9c7ce634c1aa185df192efc059b1a87d5015bc3 (diff) | |
download | algeria-e45bc5b19e36c87b2c1127dee57abf58779271ca.tar.gz |
Logging for events.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1027,6 +1027,10 @@ function on_log(text) { // eslint-disable-line no-unused-vars text = text.substring(4) p.className = 'h3' } + else if (text.match(/^\.evt/)) { + text = text.substring(5) + p.className = 'evt' + } p.innerHTML = text return p |