summaryrefslogtreecommitdiffstats
path: root/client/components/main
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-12-03 04:00:55 +0200
committerLauri Ojansivu <x@xet7.org>2017-12-03 04:00:55 +0200
commit7c403053e364ffe21d64edd961a55d0402582c07 (patch)
tree77f06a7afdb099c162a29c1bf9909b0761d85ea7 /client/components/main
parentc52233cacf798e1eb0ad8dbbfe20354443b562e3 (diff)
downloadwekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.gz
wekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.bz2
wekan-7c403053e364ffe21d64edd961a55d0402582c07.zip
Fix lint errors.
Diffstat (limited to 'client/components/main')
-rwxr-xr-xclient/components/main/editor.js2
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;