From c1844e85568b8f1957ecf2ca8dfb8afc95acbb52 Mon Sep 17 00:00:00 2001 From: skuqre <74248935+skuqre@users.noreply.github.com> Date: Sat, 11 Nov 2023 13:33:19 +0800 Subject: [PATCH] chat he's stupid --- src/pages/dialogue.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/dialogue.astro b/src/pages/dialogue.astro index 376e060..e01d7d9 100644 --- a/src/pages/dialogue.astro +++ b/src/pages/dialogue.astro @@ -93,7 +93,7 @@ import SizingTool from '../components/SizingTool.astro'; }); document.querySelectorAll('#rlc')[0].addEventListener('click', () => { - if (document.getElementById('lbg').value.trim() <= 0) return; + if (document.getElementById('lcr').value.trim() <= 0) return; char.src = document.getElementById('lcr').value; char.onload = function(e) { chpos = [(1080 - char.width) / 2, char.height > 1080 ? 0 : 1080 - char.height];