mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: makes sure we only autocomplete valid emoji tones
This commit is contained in:
parent
6d35b62238
commit
661ae38a03
@ -376,7 +376,7 @@ export default Ember.Component.extend({
|
|||||||
return resolve([translations[full]]);
|
return resolve([translations[full]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
const match = term.match(/^:?(.*?):t(\d)?$/);
|
const match = term.match(/^:?(.*?):t([2-6])?$/);
|
||||||
if (match) {
|
if (match) {
|
||||||
let name = match[1];
|
let name = match[1];
|
||||||
let scale = match[2];
|
let scale = match[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user