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

Skip to content

Commit 46b6cd1

Browse files
authored
Merge pull request #1312 from adumesny/develop
fix #1311 var missing for domAttr
2 parents 20fbd10 + 9cf988c commit 46b6cd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Change log
3636

3737
## 1.1.2-dev (upcoming)
3838

39-
TBD
39+
- fix [1311](https://github.com/gridstack/gridstack.js/issues/1311) domAttr is not defined
4040

4141
## 1.1.2 (2020-05-17)
4242

src/gridstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@
14891489
el = $(el);
14901490
if (opt) { // see knockout above
14911491
// make sure we load any DOM attributes that are not specified in passed in options (which override)
1492-
domAttr = this._readAttr(el);
1492+
var domAttr = this._readAttr(el);
14931493
Utils.defaults(opt, domAttr);
14941494
this.engine._prepareNode(opt);
14951495
}

0 commit comments

Comments
 (0)