Skip to content

Commit

Permalink
Merge pull request #968 from vishal-singh-webkul/gli-1903
Browse files Browse the repository at this point in the history
Fixed: Display issue with the amenity block in page load/reload in the home page
  • Loading branch information
rohit053 authored Apr 5, 2024
2 parents 5276896 + 061afb4 commit f18bba6
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,19 @@ $(document).ready(function() {
if ($('.homeAmenitiesBlock').length) {
setAmenitiesDescContHeight();
}
});

$(window).resize(function() {
if ($('.home_amenities_wrapper').length) {
setAmenitiesWrapperHeight();
}
});

$(window).resize(function() {
if ($('.homeAmenitiesBlock').length) {
$('.amenity_desc_cont').css('height', 0);
setAmenitiesDescContHeight();
}

if ($('.home_amenities_wrapper').length) {
setAmenitiesWrapperHeight();
}
});

0 comments on commit f18bba6

Please sign in to comment.