From 6d2abd6bd8061c3df71764ab5d5a1d6251211f24 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Fri, 5 Feb 2016 08:43:35 +0100 Subject: [PATCH] fix add watchers lightbox --- app/coffee/modules/common/lightboxes.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/common/lightboxes.coffee b/app/coffee/modules/common/lightboxes.coffee index 21851035..ed65d28f 100644 --- a/app/coffee/modules/common/lightboxes.coffee +++ b/app/coffee/modules/common/lightboxes.coffee @@ -618,7 +618,7 @@ WatchersLightboxDirective = ($repo, lightboxService, lightboxKeyboardNavigationS render = (users) -> ctx = { selected: false - users: _.head(users, 5) + users: _.slice(users, 0, 5) showMore: users.length > 5 }