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

Skip to content

Commit 4ae4540

Browse files
committed
README, dist.
1 parent 12605cc commit 4ae4540

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ Changes
478478
#### v0.2.7-dev (Development version)
479479

480480
- update `destroy([detachGrid])` call ([#422](https://github.com/troolee/gridstack.js/issues/422)).
481+
- don't mutate options when calling `draggable` and `resizable`. ([#505](https://github.com/troolee/gridstack.js/issues/505)).
481482

482483
#### v0.2.6 (2016-08-17)
483484

dist/gridstack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,13 +1115,13 @@
11151115
};
11161116

11171117
el
1118-
.draggable(_.extend(this.opts.draggable, {
1118+
.draggable(_.extend({}, this.opts.draggable, {
11191119
containment: this.opts.isNested ? this.container.parent() : null,
11201120
start: onStartMoving,
11211121
stop: onEndMoving,
11221122
drag: dragOrResize
11231123
}))
1124-
.resizable(_.extend(this.opts.resizable, {
1124+
.resizable(_.extend({}, this.opts.resizable, {
11251125
start: onStartMoving,
11261126
stop: onEndMoving,
11271127
resize: dragOrResize

0 commit comments

Comments
 (0)