Skip to content

Commit bbb3e14

Browse files
committed
Merge pull request select2#1571 from fedeisas/master
add zepto compatibiliy
2 parents cb8072d + 337fac6 commit bbb3e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the specific language governing permissions and limitations under the Apache Lic
2020
*/
2121
(function ($) {
2222
if(typeof $.fn.each2 == "undefined") {
23-
$.fn.extend({
23+
$.extend($.fn, {
2424
/*
2525
* 4-10 times faster .each replacement
2626
* use it carefully, as it overrides jQuery context of element on each iteration

0 commit comments

Comments
 (0)