summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 8c2526b..1736404 100644
--- a/ui.js
+++ b/ui.js
@@ -66,6 +66,10 @@ create_log_entry = function (text) {
text = text.replace(/>/g, ">");
text = text.replace(/card (\d+)/g,
'<span class="tip" onmouseenter="on_focus_card_tip($1)" onmouseleave="on_blur_card_tip()">card $1</span>');
+ if (text.match(/^Start Campaign /)) {
+ p.className = 'st';
+ text = text.substring(6);
+ }
p.innerHTML = text;
return p;
}