Skip to content

Commit

Permalink
Broke apngs in chrome again >.<
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody committed Feb 13, 2013
1 parent f0093e9 commit 9d4267a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/berrymotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ function getEmoteHtml(emote) {
}
else {
emoteCode =
['<span class="berryemote canvasapng" ',
'style="',
['<span class="berryemote canvasapng ',
emote.height > maxEmoteHeight ? ' resize' : '',
'" ',
'height:', emote.height, 'px; ',
'width:', emote.width, 'px; ',
'display:inline-block;',
Expand Down

0 comments on commit 9d4267a

Please sign in to comment.