You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gridstack does not work out of the box with jQuery 3.x. The problem is that it uses the deprecated size() function (https://api.jquery.com/size/). In order to make it work one can register the size function as
//size function for gridstack
$.fn.size = function(){
return this.length;
};
The text was updated successfully, but these errors were encountered:
This change worked for me without having to create an extra function var isNested = this.container.closest('.' + opts.itemClass).size() > 0;
TO var isNested = this.container.closest('.' + opts.itemClass).length > 0;
Gridstack does not work out of the box with jQuery 3.x. The problem is that it uses the deprecated size() function (https://api.jquery.com/size/). In order to make it work one can register the size function as
The text was updated successfully, but these errors were encountered: