From 75915a8806b21f741c84c7100beb4816aaea549a Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 28 Aug 2018 15:04:39 -0400 Subject: [PATCH] Reduce window width at which footer brand links start exhibiting mobile-friendly behavior --- functions.php | 2 +- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 625b72c..eb3b5ad 100644 --- a/functions.php +++ b/functions.php @@ -165,7 +165,7 @@ function glm_site_scripts() wp_enqueue_script('jquery'); wp_enqueue_script( 'glm_foundation', - get_template_directory_uri() . '/js/app.js', + get_template_directory_uri() . '/js/app.js?v=1.0.0', 'jquery', '1.0.9', true diff --git a/js/app.js b/js/app.js index daa0cf6..7f42a9c 100644 --- a/js/app.js +++ b/js/app.js @@ -37,7 +37,7 @@ $(document).ready(function () { }); - if( $(window).width() > 1024){ + if( $(window).width() > 786){ $('.manufacturer-brand').attr('data-options',"is_hover:true" ); $(document).foundation('dropdown', 'reflow'); }else{ diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 990a48c..95ef1af 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -28,7 +28,7 @@ $(document).ready(function () { }); - if( $(window).width() > 1024){ + if( $(window).width() > 786){ $('.manufacturer-brand').attr('data-options',"is_hover:true" ); $(document).foundation('dropdown', 'reflow'); }else{ -- 2.17.1