Show emoji popup if : preceeding by space or is new line.

This commit is contained in:
Aleks Bunin 2013-04-30 09:29:43 -04:00
parent 3f46287842
commit 26d0e47ce4

View file

@ -20,7 +20,7 @@ GitLab.GfmAutoComplete =
input = $('.js-gfm-input')
# Emoji
input.atWho ':',
input.atWho '(?:^|\\s):',
data: @Emoji.data
tpl: @Emoji.template