Reduce window width at which footer brand links start exhibiting mobile-friendly...
authorLaury GvR <laury@gaslightmedia.com>
Tue, 28 Aug 2018 19:04:39 +0000 (15:04 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 28 Aug 2018 19:04:39 +0000 (15:04 -0400)
functions.php
js/app.js
js/custom/pageSetup.js

index 625b72c..eb3b5ad 100644 (file)
@@ -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
index daa0cf6..7f42a9c 100644 (file)
--- 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{
index 990a48c..95ef1af 100644 (file)
@@ -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{