Node.js based forum software built for the modern web
fix: #10316, fix quoting regression
Barış Soner Uşaklı0b813d601efd
diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.jsindex 577b116580..51146641ca 100644--- a/public/src/client/topic/postTools.js+++ b/public/src/client/topic/postTools.js@@ -252,8 +252,8 @@ define('forum/topic/postTools', [});}- function onReplyClicked(button, tid) {- const selectedNode = getSelectedNode();+ async function onReplyClicked(button, tid) {+ const selectedNode = await getSelectedNode();showStaleWarning(async function () {let username = await getUserSlug(button);@@ -285,8 +285,8 @@ define('forum/topic/postTools', [});}- function onQuoteClicked(button, tid) {- const selectedNode = getSelectedNode();+ async function onQuoteClicked(button, tid) {+ const selectedNode = await getSelectedNode();showStaleWarning(async function () {const username = await getUserSlug(button);