From: Laury GvR Date: Tue, 28 Aug 2018 20:01:55 +0000 (-0400) Subject: Remove functions used in desktop view that may break the navigation X-Git-Tag: v1.0.20^2~5 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=1f8547768d3abd28922fa386b812bdf85d313c7b;p=WP-Themes%2Fbrewbakers.git Remove functions used in desktop view that may break the navigation --- diff --git a/js/app.js b/js/app.js index 708ad15..1903c01 100644 --- a/js/app.js +++ b/js/app.js @@ -43,8 +43,8 @@ $(document).ready(function () { console.log("Test0"); if( $(window).width() > 786){ console.log("Test1a"); - $('.manufacturer-brand').attr('data-options',"is_hover:true" ); - $(document).foundation('dropdown', 'reflow'); + //$('.manufacturer-brand').attr('data-options',"is_hover:true" ); + //$(document).foundation('dropdown', 'reflow'); }else{ console.log("Test1b"); $('.glm-rv-brand').each(function(){ diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 6b0722a..fdfb16c 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -34,8 +34,8 @@ $(document).ready(function () { console.log("Test0"); if( $(window).width() > 786){ console.log("Test1a"); - $('.manufacturer-brand').attr('data-options',"is_hover:true" ); - $(document).foundation('dropdown', 'reflow'); + //$('.manufacturer-brand').attr('data-options',"is_hover:true" ); + //$(document).foundation('dropdown', 'reflow'); }else{ console.log("Test1b"); $('.glm-rv-brand').each(function(){