diff --git a/assets/scripts/app/helpers/helpers.coffee b/assets/scripts/app/helpers/helpers.coffee index 385035dd..bd423d11 100644 --- a/assets/scripts/app/helpers/helpers.coffee +++ b/assets/scripts/app/helpers/helpers.coffee @@ -126,7 +126,7 @@ _toUtc = (date) -> _emojize = (text) -> emojis = text.match(/:\S+?:/g) if emojis isnt null - emojis.uniq().each (emoji, ix) -> + emojis.uniq().forEach (emoji, ix) -> strippedEmoji = emoji.substring(1, emoji.length - 1) unless EmojiDictionary.indexOf(strippedEmoji) is -1 image = '\'''