insert select2 container before element instead of after. better bootstrap compat. fixes #278
This commit is contained in:
parent
1ef57f86af
commit
4d3f8b6332
@ -493,7 +493,7 @@
|
|||||||
this.opts.element
|
this.opts.element
|
||||||
.data("select2", this)
|
.data("select2", this)
|
||||||
.hide()
|
.hide()
|
||||||
.after(this.container);
|
.before(this.container);
|
||||||
this.container.data("select2", this);
|
this.container.data("select2", this);
|
||||||
|
|
||||||
this.dropdown = this.container.find(".select2-drop");
|
this.dropdown = this.container.find(".select2-drop");
|
||||||
|
Loading…
Reference in New Issue
Block a user