From 2d55dd83c3bc363202deecbdb2f3ce5e95d245f9 Mon Sep 17 00:00:00 2001 From: Bohung Date: Mon, 26 Apr 2021 10:21:21 +0800 Subject: [PATCH] Fix bug. --- app/assets/javascripts/bulletin/wpex.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/bulletin/wpex.min.js b/app/assets/javascripts/bulletin/wpex.min.js index a40ae2b..a5c3235 100644 --- a/app/assets/javascripts/bulletin/wpex.min.js +++ b/app/assets/javascripts/bulletin/wpex.min.js @@ -2439,8 +2439,8 @@ var wpex = {}; layoutMode: $container.data('layout-mode') ? $container.data('layout-mode') : 'masonry', filter: activeItems }) - $grid.on( 'arrangeComplete', function(){ - /* something event to run after isotope */ + $grid.on( 'layoutComplete', function(){ + self.equalHeights(); }); }) })