Skip to content

Node.js based forum software built for the modern web

fixes #3922

Julian Lam2af11a23ce96
diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js
index 423637e21e..6be1fce55d 100644
--- a/public/src/client/topic/postTools.js
+++ b/public/src/client/topic/postTools.js
@@ -268,6 +268,11 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator
function showVotes(pid) {
socket.emit('posts.getVoters', {pid: pid, cid: ajaxify.data.cid}, function(err, data) {
if (err) {
+ if (err.message === '[[error:no-privileges]]') {
+ return;
+ }
+
+ // Only show error if it's an unexpected error.
return app.alertError(err.message);
}