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

Skip to content

Commit 5b86a44

Browse files
committed
fix _update_styles
1 parent 76b521e commit 5b86a44

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
@@ -465,7 +465,7 @@
465465
else if (typeof this._styles.deleteRule === 'function')
466466
f = this._styles.deleteRule;
467467
while (this._styles.rules.length) {
468-
f(0);
468+
f.call(this._styles, 0);
469469
}
470470
this._update_container_height();
471471
}

0 commit comments

Comments
 (0)