From b431125bf993e06626b64ff4e8fa86fac3609d57 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 12 Jun 2017 11:19:12 -0400 Subject: [PATCH] removing console statements from pageSetup.js removing all test print statements from the js files --- js/app.js | 3 +-- js/custom/pageSetup.js | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.17.1