fix jquery size()
This commit is contained in:
parent
fb157a3dd2
commit
4c3abe8e63
3 changed files with 7 additions and 3 deletions
|
|
@ -508,7 +508,7 @@
|
|||
// jscs:enable requireCamelCaseOrUpperCaseIdentifiers
|
||||
|
||||
opts.itemClass = opts.itemClass || 'grid-stack-item';
|
||||
var isNested = this.container.closest('.' + opts.itemClass).size() > 0;
|
||||
var isNested = this.container.closest('.' + opts.itemClass).length > 0;
|
||||
|
||||
this.opts = _.defaults(opts || {}, {
|
||||
width: parseInt(this.container.attr('data-gs-width')) || 12,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue