Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Fix reflow bug in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
NiGhTTraX committed Aug 25, 2015
1 parent c92c259 commit ec34409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var DemoGrid = {
if (size) {
this.currentSize = size;
}
$('#grid').gridList('reflow');
$('#grid').gridList('resize', this.currentSize);
},
flashItems: function(items) {
// Hack to flash changed items visually
Expand All @@ -47,7 +47,7 @@ var DemoGrid = {
};

$(window).resize(function() {
DemoGrid.resize();
$('#grid').gridList('reflow');
});

$(function() {
Expand Down

0 comments on commit ec34409

Please sign in to comment.