Commit 3199fad5 authored by Pavel Reznikov's avatar Pavel Reznikov
Browse files

use gridstack instead _gridstack as data name for root element

parent f478db80
......@@ -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));
}
});
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment