diff --git a/assets/scripts/app/helpers/helpers.coffee b/assets/scripts/app/helpers/helpers.coffee index 23214d03..ec885552 100644 --- a/assets/scripts/app/helpers/helpers.coffee +++ b/assets/scripts/app/helpers/helpers.coffee @@ -123,7 +123,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 = '\'''