Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions grids.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@
$.fn.responsiveEqualHeightGrid = function() {
var _this = this;
function syncHeights() {
var cols = _this.detectGridColumns();
_this.equalHeightGrid(cols);
var cols = _this.detectGridColumns();
_this.equalHeightGrid(cols);
setTimeout(resizeListener,100);
}
var resizeListener = function(){
$(window).one('resize load', syncHeights);
}
$(window).bind('resize load', syncHeights);
resizeListener();
syncHeights();
return this;
};
Expand Down