summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-30 00:33:36 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit8bb5f1e3a67d7efa5fd22a3bdeadb39bc87ce6f7 (patch)
treefedd1bb875113671b3df95af8bc8c637303369bf /play.js
parent84e488f8b16b9dfa2a29076369a223a956f0f8ad (diff)
downloadfriedrich-8bb5f1e3a67d7efa5fd22a3bdeadb39bc87ce6f7.tar.gz
polish retired text
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index 4f46fbb..a6b09e8 100644
--- a/play.js
+++ b/play.js
@@ -1167,9 +1167,9 @@ function on_log(text) {
if (text.match(/^\$(\d+)/)) {
let fx = parseInt(text.substring(1))
if (fx < 48 + 6)
- text = `<p class="q">${fate_flavor_text[fx]}<p>${fate_effect_text[fx]}`
+ text = `<div class="q">${fate_flavor_text[fx]}</div><div></div><div>${fate_effect_text[fx]}</div><div></div>`
else
- text = `<p class="q">${fate_flavor_text[fx]}`
+ text = `<div class="q">${fate_flavor_text[fx]}</div><div></div>`
}
else if (text.match(/^# /)) {
p.className = "h fate"