Skip to content

Commit 7d22e6c

Browse files
kwak27vieron
authored andcommitted
fix(gridster): fix add_widget to use correct size_y when adding rows
1 parent bb7463a commit 7d22e6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jquery.gridster.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@
230230
}else{
231231
pos = {
232232
col: col,
233-
row: row
233+
row: row,
234+
size_x: size_x,
235+
size_y: size_y
234236
};
235237

236238
this.empty_cells(col, row, size_x, size_y);

0 commit comments

Comments
 (0)