diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -479,6 +479,14 @@ function on_log(text) { text = text.substring(4) p.className = "h2" } + else if (text.match(/^>/)) { + text = text.substring(1) + p.className = "ind" + } + else if (text.match(/^\.i /)) { + text = text.substring(3) + p.className = "i" + } text = text.replace(/\bC\d+\b/g, sub_card) text = text.replace(/\b[DPRBK]\d\b/g, sub_icon) |