Commit 00ed1e90 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #3786 from sashkab/emoji-fix

Show emoji popup if colon preceding by space or is new line.
parents 3f462878 26d0e47c
...@@ -20,7 +20,7 @@ GitLab.GfmAutoComplete = ...@@ -20,7 +20,7 @@ GitLab.GfmAutoComplete =
input = $('.js-gfm-input') input = $('.js-gfm-input')
# Emoji # Emoji
input.atWho ':', input.atWho '(?:^|\\s):',
data: @Emoji.data data: @Emoji.data
tpl: @Emoji.template tpl: @Emoji.template
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment