mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: enter on invite to PM was broken
This commit is contained in:
parent
5a3466a6c3
commit
367d699247
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ $.fn.autocomplete = function(options) {
|
|||
inputSelectedItems.push("");
|
||||
}
|
||||
|
||||
if(_.isString(inputSelectedItems[0])) {
|
||||
if(_.isString(inputSelectedItems[0]) && me.val().length > 0) {
|
||||
inputSelectedItems.pop();
|
||||
inputSelectedItems.push(me.val());
|
||||
if (options.onChangeItems) {
|
||||
|
|
Loading…
Reference in a new issue