use gridstack instead _gridstack as data name for root element
This commit is contained in:
parent
f478db80ca
commit
3199fad50d
1 changed files with 2 additions and 2 deletions
|
|
@ -292,8 +292,8 @@
|
|||
|
||||
$.fn.gridstack = function (opts) {
|
||||
return this.each(function () {
|
||||
if (!$(this).data('_gridstack')) {
|
||||
$(this).data('_gridstack', new GridStack(this, opts));
|
||||
if (!$(this).data('gridstack')) {
|
||||
$(this).data('gridstack', new GridStack(this, opts));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue