Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04a3412

Browse files
* Made '.initAll()' use a deep copy of the opts
1 parent d7c93d8 commit 04a3412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@
21122112
var grids = [];
21132113
$(selector).each(function(index, el) {
21142114
if (!el.gridstack) {
2115-
el.gridstack = new GridStack(el, opts);
2115+
el.gridstack = new GridStack(el, Utils.clone(opts));
21162116
}
21172117
grids.push(el.gridstack);
21182118
});

0 commit comments

Comments
 (0)