diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -878,15 +878,15 @@ function on_log(text) { if (text.match(/^\.h1/)) { text = text.substring(4) p.className = "h1" - } else if (text.match(/^\.h2d/)) { - text = text.substring(5) - p.className = "h2 dem" - } else if (text.match(/^\.h2c/)) { - text = text.substring(5) - p.className = "h2 com" } else if (text.match(/^\.h2/)) { text = text.substring(4) p.className = "h2" + } else if (text.match(/^\.d/)) { + text = "Democrat" + p.className = "h2 dem" + } else if (text.match(/^\.c/)) { + text = "Communist" + p.className = "h2 com" } else if (text.match(/^\.h3/)) { text = text.substring(4) p.className = "h3" |