Igor Vaynberg пре 13 година
родитељ
комит
4489ab7769
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -429,7 +429,7 @@
 
             this.enabled=true;
             this.container = this.createContainer();
-            this.body = $("body"); // opts.element.closest("body"); // cache for future access
+            this.body = $("body");  // cache for future access
 
             if (opts.element.attr("class") !== undefined) {
                 this.container.addClass(opts.element.attr("class"));