Skip to content

Node.js based forum software built for the modern web

don't mention guest on reply

pichalite3024d2e661f6
diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js
index 037f3dd4cd..a9d1919f13 100644
--- a/public/src/client/topic/postTools.js
+++ b/public/src/client/topic/postTools.js
@@ -182,7 +182,7 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator
}
var username = getUserName(selectionText ? $(selection.baseNode) : button);
- if (getData(button, 'data-uid') === '0') {
+ if (getData(button, 'data-uid') === '0' || !getData(button, 'data-userslug')) {
username = '';
}