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:
Yashashvi Dave
2018-08-18 10:24:22 +05:30
committed by Tim Abbott
parent 4f9ca03c13
commit 6031ccff5c

View File

@@ -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,
};