mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 00:53:56 +00:00
user pills: Every pills-container must include div-input element.
Expect div-input element in every pill-container even though pills are not editable. This is correct, because `input_pill.js` appends pills before the div-input element.
This commit is contained in:
committed by
Tim Abbott
parent
4f9ca03c13
commit
6031ccff5c
@@ -38,7 +38,7 @@ exports.create = function (opts) {
|
||||
var store = {
|
||||
pills: [],
|
||||
$parent: opts.container,
|
||||
$input: opts.container.find(".input"),
|
||||
$input: opts.container.find(".input").expectOne(),
|
||||
create_item_from_text: opts.create_item_from_text,
|
||||
get_text_from_item: opts.get_text_from_item,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user