From 6972f9fb333af9ac1ef645347272beb4491b6d9b Mon Sep 17 00:00:00 2001 From: vieron Date: Fri, 27 Jul 2012 17:55:04 +0200 Subject: [PATCH] recalculate grid height when a widget is removed --- src/jquery.gridster.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 983b26352..3967412f6 100644 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -227,6 +227,8 @@ this.move_widget_up( $(widget), wgd.size_y ); }, this)); + this.set_dom_grid_height(); + if (callback) { callback.call(this, el); }