From fab3c1455dec858b9c85a2804bfae8cd1e510f10 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 7 Feb 2014 09:53:48 -0500 Subject: [PATCH] Pass size of 60px to gravatar function from navbar. Since it won't be larger than that, no point loading a larger 200px image and then shrinking it. 60px already takes into consideration retina displays. The actual size of avatar is 30px. --- views/partials/navigation.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/partials/navigation.jade b/views/partials/navigation.jade index 3b29aa5f44..6bd3b6885c 100644 --- a/views/partials/navigation.jade +++ b/views/partials/navigation.jade @@ -27,7 +27,7 @@ if user.profile.picture img.profile-image(src='#{user.profile.picture}') else - img.profile-image(src='#{user.gravatar()}') + img.profile-image(src='#{user.gravatar(60)}') | #{user.profile.name || user.email || user.id}  i.caret ul.dropdown-menu