From 337fac620ecee91f5b2dada6ccc9872172de7463 Mon Sep 17 00:00:00 2001 From: Fede Isas Date: Thu, 25 Jul 2013 16:44:41 -0300 Subject: [PATCH] add zepto compatibiliy --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 9207009c..60fcabe3 100644 --- a/select2.js +++ b/select2.js @@ -20,7 +20,7 @@ the specific language governing permissions and limitations under the Apache Lic */ (function ($) { if(typeof $.fn.each2 == "undefined") { - $.fn.extend({ + $.extend($.fn, { /* * 4-10 times faster .each replacement * use it carefully, as it overrides jQuery context of element on each iteration