From d27f0403d8312c79c18ed7fdffa5670756a1b937 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 27 Jul 2015 20:02:26 +0930 Subject: [PATCH] Make sure no likes are left behind --- extensions/likes/js/forum/src/addLikesList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/likes/js/forum/src/addLikesList.js b/extensions/likes/js/forum/src/addLikesList.js index 824be428d..571a5b105 100644 --- a/extensions/likes/js/forum/src/addLikesList.js +++ b/extensions/likes/js/forum/src/addLikesList.js @@ -30,7 +30,7 @@ export default function() { // If there are more users that we've run out of room to display, add a "x // others" name to the end of the list. Clicking on it will display a modal // with a full list of names. - if (likes.length > limit + 1) { + if (likes.length > limit) { names.push( { e.preventDefault();