From: Anthony Talarico Date: Mon, 12 Jun 2017 15:19:12 +0000 (-0400) Subject: removing console statements from pageSetup.js X-Git-Tag: v1.0.0^2~10 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b431125bf993e06626b64ff4e8fa86fac3609d57;p=WP-Themes%2Fphsacf.git removing console statements from pageSetup.js removing all test print statements from the js files --- diff --git a/js/app.js b/js/app.js index 9cfc432..6283466 100644 --- a/js/app.js +++ b/js/app.js @@ -95,8 +95,6 @@ $(document).ready(function () { var search_input_container = page.find( $('.header-search-container') ); var search_input = search_input_container.find( $('.search-input') ); - console.log(search_input); - function hide_show_search(el){ if( el.css("width") == '0px'){ el.css("border", "1px solid grey"); @@ -114,6 +112,7 @@ $(document).ready(function () { } } + search_toggle.on("click", function(){ $(this).css("display", 'none'); hide_show_search(search_input); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 68c920b..605c73a 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -43,6 +43,7 @@ $(document).ready(function () { } } + search_toggle.on("click", function(){ $(this).css("display", 'none'); hide_show_search(search_input);