Removed unnecessary console log statements
authorLaury GvR <laury@gaslightmedia.com>
Thu, 16 Aug 2018 19:47:11 +0000 (15:47 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 16 Aug 2018 19:47:11 +0000 (15:47 -0400)
js/app.js
js/custom/pageSetup.js
parts/dropdown-map.php

index 3263494..b589492 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -31,7 +31,7 @@ $(document).ready(function () {
         if( $(this).children('ul').length > 0 ){
             let menuParent = $(this).parent();
             $(this).on("click", function(e){
-                console.log($(this).parent())
+                //console.log($(this).parent())
                 if( $(this).parent().hasClass('sub-menu-section') ){
                    collapseMenu = true;
                 }
@@ -50,7 +50,7 @@ $(document).ready(function () {
                 // alter the orientation of the nav arrow, it's the only el that uses a plain open class instead of oc-open
                 $(this).children('a').toggleClass('open');
                 $(this).children('a').siblings('ul').toggleClass('oc-open');
-                console.log(childMenuVisible);
+                //console.log(childMenuVisible);
                 if( collapseMenu && childMenuVisible){
                     other_menu.toggleClass("oc-hidden"); 
                     // $(this).children('a').siblings('ul').toggleClass('oc-open');         
index 7a30036..d083a65 100644 (file)
@@ -22,7 +22,7 @@ $(document).ready(function () {
         if( $(this).children('ul').length > 0 ){
             let menuParent = $(this).parent();
             $(this).on("click", function(e){
-                console.log($(this).parent())
+                //console.log($(this).parent())
                 if( $(this).parent().hasClass('sub-menu-section') ){
                    collapseMenu = true;
                 }
@@ -41,7 +41,7 @@ $(document).ready(function () {
                 // alter the orientation of the nav arrow, it's the only el that uses a plain open class instead of oc-open
                 $(this).children('a').toggleClass('open');
                 $(this).children('a').siblings('ul').toggleClass('oc-open');
-                console.log(childMenuVisible);
+                //console.log(childMenuVisible);
                 if( collapseMenu && childMenuVisible){
                     other_menu.toggleClass("oc-hidden"); 
                     // $(this).children('a').siblings('ul').toggleClass('oc-open');         
index 190e6dc..4780dec 100644 (file)
@@ -64,7 +64,7 @@
 <script>
     jQuery(function($){
         var regions         = <?php echo $js_regions ?>;
-        console.log(regions);
+        //console.log(regions);
         var map             = $("#region-map");
         var region          = $('.hover-region');
         
                 $(this).css("fill", blue);
             }
         );
-        console.log(regions);
+        //console.log(regions);
         region.hover(function(){
             //console.log($(this).data('region'));
-            console.log($(this).attr("id"));
+            //console.log($(this).attr("id"));
                 //region_id   = $(this).data('region');
                 region_id   = $(this).attr('id');
                 var img     = regions[region_id]['image'];