TypeError: $(…).size is not a function

332 ٩:٣١ ق.ظ

برای رفع این مشکل در فایل jquery.min.js تغییرات زیر را اعمال میکنیم :

به جای تابع size() تابع length() را جایگرین میکنیم .

size() was deprecated years ago and removed in version 3 ... use length instead

if (e.target.id == "wrapper" || $(e.target).parents("#wrapper").length)

All you had to do was look this up in the size() docs to find this out


فاقد نظر