From 20ed482c77e21399ba21798971faaeca25a6e279 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 8 Oct 2019 11:32:43 -0400 Subject: [PATCH] adjusting js viewport checking for the mobile sticky nav --- js/app.js | 1 + js/custom/pageSetup.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/app.js b/js/app.js index ca3bd4c..8c69233 100644 --- a/js/app.js +++ b/js/app.js @@ -143,6 +143,7 @@ $(document).ready(function () { $("#mobile-sticky-nav").addClass("show"); $("#resContent").appendTo("#room-rates-slider"); } else if($(window).width() < 1025 && $(window).width() > 639){ + $("#mobile-sticky-nav").addClass("show"); $("#resContent").appendTo("#room-rates-slider"); $(".feed").slick({ infinite: true, diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index e3c8167..d1498c2 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -134,6 +134,7 @@ $(document).ready(function () { $("#mobile-sticky-nav").addClass("show"); $("#resContent").appendTo("#room-rates-slider"); } else if($(window).width() < 1025 && $(window).width() > 639){ + $("#mobile-sticky-nav").addClass("show"); $("#resContent").appendTo("#room-rates-slider"); $(".feed").slick({ infinite: true, -- 2.17.1