diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-12-03 04:00:55 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-12-03 04:00:55 +0200 |
commit | 7c403053e364ffe21d64edd961a55d0402582c07 (patch) | |
tree | 77f06a7afdb099c162a29c1bf9909b0761d85ea7 /client/components/main | |
parent | c52233cacf798e1eb0ad8dbbfe20354443b562e3 (diff) | |
download | wekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.gz wekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.bz2 wekan-7c403053e364ffe21d64edd961a55d0402582c07.zip |
Fix lint errors.
Diffstat (limited to 'client/components/main')
-rwxr-xr-x | client/components/main/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/main/editor.js b/client/components/main/editor.js index 5987b772..5f384ece 100755 --- a/client/components/main/editor.js +++ b/client/components/main/editor.js @@ -6,7 +6,7 @@ Template.editor.onRendered(() => { $textarea.escapeableTextComplete([ // Emoji { - match: /\B:([\-+\w]*)$/, + match: /\B:([-+\w]*)$/, search(term, callback) { callback(Emoji.values.map((emoji) => { return emoji.includes(term) ? emoji : null; |