summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-21 17:16:12 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:18 +0100
commitd2855ee392024c8ce05cc35233df8457266c1bf7 (patch)
tree3a9fbd4ad154eff05d10b869dcd10bd7515621fa /ui.js
parentbe251f3c06dbfd9517a748d8a2d827b660e0ccfb (diff)
downloadhammer-of-the-scots-d2855ee392024c8ce05cc35233df8457266c1bf7.tar.gz
Some more log appearance tweaks.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 47c3cb7..66790c2 100644
--- a/ui.js
+++ b/ui.js
@@ -65,7 +65,7 @@ create_log_entry = function (text) {
else if (text.match(/^Start Scotland turn/))
p.className = 'S';
else if (text.match(/^Start /))
- p.className = 'st';
+ p.className = 'st', text = text.replace(/\.$/, "");
else if (text.match(/^(Battle in|Defection battle in)/))
p.className = 'bs';