Remove functions used in desktop view that may break the navigation
authorLaury GvR <laury@gaslightmedia.com>
Tue, 28 Aug 2018 20:01:55 +0000 (16:01 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 28 Aug 2018 20:01:55 +0000 (16:01 -0400)
js/app.js
js/custom/pageSetup.js

index 708ad15..1903c01 100644 (file)
--- 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(){
index 6b0722a..fdfb16c 100644 (file)
@@ -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(){