diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-11 07:38:50 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-11 07:38:50 +0200 |
commit | aa51dea4577178f02a5374b3ad823039744a6d0a (patch) | |
tree | a09ff0bd3aeb09ca354a701ea27db2aef3d5844e /play.js | |
parent | e80931401bb39f54bd1cf8a9faf2f7fe102d608a (diff) | |
download | algeria-aa51dea4577178f02a5374b3ad823039744a6d0a.tar.gz |
style logging
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -583,6 +583,13 @@ function on_log(text) { // eslint-disable-line no-unused-vars else if (text.match(/^\.h2/)) { text = text.substring(4) p.className = 'h2' + if (text.match(/^FLN /)) { + p.classList.add("fln") + } else if (text.match(/^Government /)) { + p.classList.add("gov") + } else { + p.classList.add("both") + } } else if (text.match(/^\.h3/)) { text = text.substring(4) |