From 4d3f8b6332c2ac80aa6c05bf83ec9e1e367061bc Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Tue, 7 Aug 2012 22:31:36 -0700 Subject: [PATCH] insert select2 container before element instead of after. better bootstrap compat. fixes #278 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 84d769d7..f633a315 100755 --- a/select2.js +++ b/select2.js @@ -493,7 +493,7 @@ this.opts.element .data("select2", this) .hide() - .after(this.container); + .before(this.container); this.container.data("select2", this); this.dropdown = this.container.find(".select2-drop");