mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Fix lint errors.
This commit is contained in:
parent
c52233cacf
commit
7c403053e3
11 changed files with 187 additions and 187 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ window.Modal = new class {
|
|||
this._currentModal.set({ header, modalName });
|
||||
this._onCloseGoTo = onCloseGoTo;
|
||||
}
|
||||
};
|
||||
}();
|
||||
|
||||
Blaze.registerHelper('Modal', Modal);
|
||||
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ window.Popup = new class {
|
|||
return title !== translationKey ? title : defaultTitle;
|
||||
};
|
||||
}
|
||||
};
|
||||
}();
|
||||
|
||||
// We close a potential opened popup on any left click on the document, or go
|
||||
// one step back by pressing escape.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue