summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-07 21:44:42 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-08-07 21:44:42 +0000
commitcb1b4af099ef88c530f4bfd24dd3290bf9387dfb (patch)
treedecbcbdcb6d43b903c362d1e3c9406b5eca2df7a /app/helpers
parent475f41acd4a8e0666736d40feb4d8945cf2c306a (diff)
downloadgitlab-ce-cb1b4af099ef88c530f4bfd24dd3290bf9387dfb.tar.gz
Resolve "User dropdown in filtered search does not load avatar on `master`"
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/avatars_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/avatars_helper.rb b/app/helpers/avatars_helper.rb
index 0e068d4b51c..4b51269533c 100644
--- a/app/helpers/avatars_helper.rb
+++ b/app/helpers/avatars_helper.rb
@@ -19,7 +19,8 @@ module AvatarsHelper
class: %W[avatar has-tooltip s#{avatar_size}].push(*options[:css_class]),
alt: "#{user_name}'s avatar",
title: user_name,
- data: data_attributes
+ data: data_attributes,
+ lazy: true
)
end