Commit f7632dbe authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic

Bug 1813987: gridstack initializing variable in the right place

behatnotneeded

Change-Id: Ie32725e6933cb3e572eae209db0bfbe1e6959fb4
parent 9b3a9303
......@@ -45,8 +45,9 @@ function loadGridTranslate(grid, blocks) {
function loadGrid(grid, blocks) {
var minWidth = grid.opts.minCellColumns,
minHeight=null;
minHeight;
$.each(blocks, function(index, block) {
minHeight = null;
var blockContent = $('<div id="block_' + block.id + '"><div class="grid-stack-item-content">'
+ block.content +
'<div/><div/>');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment