From 0bd19b49fc2c5260b1a34bffce076217e45ffb0b Mon Sep 17 00:00:00 2001 From: echicken <echicken@bbs.electronicchicken.com> Date: Tue, 22 Nov 2016 02:05:41 -0500 Subject: [PATCH] Actually ... disable both of them. --- web/root/js/forum.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/root/js/forum.js b/web/root/js/forum.js index 31553bd29a..d85d751260 100644 --- a/web/root/js/forum.js +++ b/web/root/js/forum.js @@ -345,9 +345,11 @@ function getVotesInThread(sub, id) { case 1: $('#uv-' + m).addClass('upvote-fg'); $('#uv-' + m).attr('disabled', true); + $('#dv-' + m).attr('disabled', true); break; case 2: $('#dv-' + m).addClass('downvote-fg'); + $('#uv-' + m).attr('disabled', true); $('#dv-' + m).attr('disabled', true); break; default: -- GitLab