diff --git a/grids.js b/grids.js index b94bbc0..06ca2b6 100644 --- a/grids.js +++ b/grids.js @@ -61,7 +61,7 @@ /** * Ensure equal heights now, on ready, load and resize. */ - $.fn.responsiveEqualHeightGrid = function() { + $.fn.responsiveEqualHeightGrid = function(callback) { var _this = this; function syncHeights() { @@ -70,6 +70,7 @@ } $(window).bind('resize load', syncHeights); syncHeights(); + if(typeof callback!="undefined") callback(); return this; };