File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ Change log
38
38
- fix [ 1229] ( https://github.com/gridstack/gridstack.js/issues/1229 ) ` staticGrid ` no longer disable oneColumnMode
39
39
- fix [ 1195] ( https://github.com/gridstack/gridstack.js/issues/1195 ) options broken with ember hash helper - thanks [ @btecu ] ( https://github.com/btecu )
40
40
- fix [ 1250] ( https://github.com/gridstack/gridstack.js/issues/1250 ) don't remove item from another grid
41
+ - fix [ 1261] ( https://github.com/gridstack/gridstack.js/issues/1261 ) ` init() ` clones passed options so second doesn't affect first one
41
42
42
43
## 1.1.1 (2020-03-17)
43
44
Original file line number Diff line number Diff line change 2106
2106
var el = $ ( elOrString ) . get ( 0 ) ;
2107
2107
if ( ! el ) return ;
2108
2108
if ( ! el . gridstack ) {
2109
- el . gridstack = new GridStack ( el , opts ) ;
2109
+ el . gridstack = new GridStack ( el , Utils . clone ( opts ) ) ;
2110
2110
}
2111
2111
return el . gridstack
2112
2112
} ;
You can’t perform that action at this time.
0 commit comments