summaryrefslogtreecommitdiff
path: root/static/script.js
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-02-26 12:33:11 -0500
committercyfraeviolae <cyfraeviolae>2022-02-26 12:33:11 -0500
commit07f6564f68c03d0d73cc43753db36bc023ce268b (patch)
tree15ecdb2a3324c97dc80fa0ac98d0b35f5c5fd3ce /static/script.js
parent4f4852df1a79f25dc5ad51e328d1f341aeabd8e5 (diff)
restyle
Diffstat (limited to 'static/script.js')
-rw-r--r--static/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js
index 7585efa..7ed08db 100644
--- a/static/script.js
+++ b/static/script.js
@@ -150,7 +150,7 @@ function winGame(challenge) {
winEl.style = 'display: block;'
document.getElementById('btns').style = 'display: none;'
document.getElementById('meter').innerText = challenge.meter
- document.getElementById('ctx').innerHTML = challenge.ctx.replaceAll(/^(.*)/gm, ' $1') + `\n\t<span class="byline">&mdash;<a href="${challenge.link}">${challenge.title}</a>, ${challenge.collection}, ${challenge.author}</span>`
+ document.getElementById('ctx').innerHTML = challenge.ctx.replaceAll(/^(.*)/gm, ' $1') + `\n\t<span class="byline">&mdash;<a href="${challenge.link}">${challenge.title}</a>\n\t\t${challenge.collection}, ${challenge.author}</span>`
var date = new Date().toISOString().slice(0, 10)
var firstguess = Object.values(guesses[0]).join(' ')
document.getElementById('share').value = `I solved the ${date} Prosodyle at cyfraeviolae.org/prosodyle. My first guess was: "${firstguess}".`