diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1364,6 +1364,7 @@ function sub_space(match, p1) { return `<span class="tip" onmouseenter="on_focus_space_tip(${x})" onmouseleave="on_blur_space_tip(${x})" onmousedown="on_click_space_tip(${x})">${n}</span>` } +const C_MI = '<img class="c" src="pieces/mongol_invader.svg">' const F_DS = '<img class="f" src="images/Flags_DS.png">' const F_BK = '<img class="f" src="images/Flags_BK.png">' const F_VE = '<img class="f" src="images/Flags_VE.png">' @@ -1382,6 +1383,7 @@ function on_log(text) { text = text.replace(/</g, "<") text = text.replace(/>/g, ">") + text = text.replace(/\bCMI\b/g, C_MI) text = text.replace(/\bFDS\b/g, F_DS) text = text.replace(/\bFBK\b/g, F_BK) text = text.replace(/\bFVE\b/g, F_VE) |