diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -880,6 +880,7 @@ function on_update() { action_button("end_rout", "End rout") action_button("end_retreat", "End retreat") action_button("end_combat", "End combat") + action_button("end_deployment", "End deployment") action_button("end_buildup", "End buildup") action_button("end_turn", "End turn") @@ -928,6 +929,11 @@ function on_log_line(text, cn) { function on_log(text) { let p = document.createElement("div") + if (text.match(/^>>/)) { + text = text.substring(2) + p.className = "ii" + } + if (text.match(/^>/)) { text = text.substring(1) p.className = "i" |