From 5b86a44cef0d98bae303c04f3cf5ee50f21772ba Mon Sep 17 00:00:00 2001 From: Pavel Reznikov Date: Tue, 3 Mar 2015 22:29:55 -0800 Subject: [PATCH] fix _update_styles --- src/gridstack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gridstack.js b/src/gridstack.js index 7a95818..fc1ed68 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -465,7 +465,7 @@ else if (typeof this._styles.deleteRule === 'function') f = this._styles.deleteRule; while (this._styles.rules.length) { - f(0); + f.call(this._styles, 0); } this._update_container_height(); }