aboutsummaryrefslogtreecommitdiff
path: root/public/ng/js/utils
diff options
context:
space:
mode:
authorAndrew Burns <ErebusBat@gmail.com>2014-12-05 11:02:59 -0700
committerAndrew Burns <ErebusBat@gmail.com>2014-12-05 11:02:59 -0700
commit35b02997f8599c8e260b70bc5b3239b0109c05cf (patch)
tree9b3d691af9b480f13af4485111a6583e5ec85333 /public/ng/js/utils
parentadc1ac689efb23c6de2a22b0d6226d02b1641222 (diff)
Fix Gravatar images in web view (like commit listing)
Related to #700 In the original bug report it was referencing only the sytem avatar images for setup users (like in the header); however the problem also persists with things like commit history. This commit fixes the `tool.AvatarLink` function so that it also uses the already existing `avatar.HashEmail` function. I also refactored the `tool.AvatarLink` method some to make the control flow more apparent and adhere better to DRY (there were multiple calls to the `EncodeMd5` function that the `HashEmail` function call replaced, now there is only one.)
Diffstat (limited to 'public/ng/js/utils')
0 files changed, 0 insertions, 0 deletions