From 68f1d6279c2237b91d6e577bdecf041d4c5791cc Mon Sep 17 00:00:00 2001 From: vieron Date: Mon, 15 Oct 2012 15:34:00 +0200 Subject: [PATCH] Avoid dynamic column generation. Using add_faux_col each time a new widget is added to the grid caused the widget was always positioned in the first row on the right. Related to #60. --- src/jquery.gridster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 5a200fd13..657b083a9 100644 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -177,7 +177,7 @@ this.register_widget($w); this.add_faux_rows(pos.size_y); - this.add_faux_cols(pos.size_x); + //this.add_faux_cols(pos.size_x); this.set_dom_grid_height();