Prechádzať zdrojové kódy

insert select2 container before element instead of after. better bootstrap compat. fixes #278

Igor Vaynberg 12 rokov pred
rodič
commit
4d3f8b6332
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      select2.js

+ 1 - 1
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");