Files
gitlabhq/app/helpers
connorshea 3a196317ab Add "sprite" parameter to emoji_icon helper
The emoji_icon helper used to display the award emoji in Issue and
Merge Request views. By default the spritesheet is used, but passing
`sprite: false` to the `emoji_icon` helper makes the emoji render as
separate images.

For award emoji displayed by default (e.g. thumbs-up, thumbs-down, and
any that have been awarded to the issue/MR) the independent images are
used. Only when the full emoji menu is opened does the full spritesheet
load.

On a normal issue this change decreases the page load by 670KB or 250KB
depending on pixel density.

Resolves #14334.
2016-04-08 17:38:31 -06:00
..
2015-12-11 18:02:09 +01:00
2016-03-15 16:24:51 +01:00
2015-12-15 00:53:52 -02:00
2015-12-11 18:02:09 +01:00
2016-03-02 17:06:01 +00:00
2016-02-18 16:16:32 -05:00
2016-03-05 18:12:17 -05:00
2015-09-29 16:26:40 +02:00
2015-12-11 18:02:09 +01:00
2016-03-22 00:09:20 +01:00