From d202d17fe7a5955e05a7bbf982459a908eaaf075 Mon Sep 17 00:00:00 2001 From: Bohung Date: Tue, 27 Apr 2021 14:55:49 +0800 Subject: [PATCH] Fix bug. --- app/assets/javascripts/bulletin/wpex.min.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/bulletin/wpex.min.js b/app/assets/javascripts/bulletin/wpex.min.js index a5c3235..56241c2 100644 --- a/app/assets/javascripts/bulletin/wpex.min.js +++ b/app/assets/javascripts/bulletin/wpex.min.js @@ -262,6 +262,8 @@ var el = $(this.element); if(el.hasClass("row")){ el.css("width","100%"); + }else if(el.filter("[class*='col-md']").length == 0){ + el.css("width","100%"); } this.css({ position: 'absolute' }) }; @@ -2440,7 +2442,7 @@ var wpex = {}; filter: activeItems }) $grid.on( 'layoutComplete', function(){ - self.equalHeights(); + //Something to call after animation }); }) })