diff src/chat.js @ 109:b86bb25fb416 default tip

reply fix
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 14 Sep 2025 15:58:52 -0600
parents ed1418c95488
children
line wrap: on
line diff
--- a/src/chat.js	Wed Sep 03 12:40:20 2025 -0600
+++ b/src/chat.js	Sun Sep 14 15:58:52 2025 -0600
@@ -433,7 +433,7 @@
 	div.removeAttribute('hidden');
 	div.setAttribute('reply',postId);
 	document.querySelector('div[reply] div[text]').innerHTML = document.querySelector(`div[post="${postId}"] div[text]`).innerHTML
-	let a = document.querySelector('div[reply] a');
+	let a = document.querySelector('div[reply] a[when]');
 	a.href = `#p${postId}`;
 	a.textContent = document.querySelector(`div[post="${postId}"] span[when]`).textContent;
 	document.querySelector('div[input] textarea').focus();