From: Steve Sutton Date: Tue, 27 Oct 2015 19:13:59 +0000 (-0400) Subject: Fix console bug for IE X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=aa982d065c4a33951bca3818fcc2675751504f9e;p=WP-Themes%2Fglmthemes%2Fmountpleasant-theme.git Fix console bug for IE --- diff --git a/functions.php b/functions.php index 8371bc2..cddd90e 100644 --- a/functions.php +++ b/functions.php @@ -288,7 +288,7 @@ function glm_site_scripts() 'glm_foundation', get_template_directory_uri() . '/js/app.min.js', array('jquery','jquery-ui-datepicker'), - '1.0', + '1.0.10', true ); $ui = $wp_scripts->query('jquery-ui-core'); @@ -409,7 +409,7 @@ function my_ajax_callback_function() { $input = $_POST['input']; } add_action( 'wp_ajax_numGolfers', 'my_ajax_callback_function' ); // If called from admin panel - add_action( 'wp_ajax_nopriv_numGolfers', 'my_ajax_callback_function' ); + add_action( 'wp_ajax_nopriv_numGolfers', 'my_ajax_callback_function' ); add_action('wp_enqueue_scripts', 'glm_site_scripts'); @@ -441,9 +441,9 @@ add_action('thematic_searchloop', 'mytheme_search_loop'); // End of the Contextual/Highlight Search functions -/* This function exists to remove the content from the top of detail pages of +/* This function exists to remove the content from the top of detail pages of * the GLm MemberDB plugin. - */ + */ //function custom_content($content) { // global $post; // if ($_REQUEST['glm_action'] == "detail" ) { @@ -464,4 +464,4 @@ add_action('thematic_searchloop', 'mytheme_search_loop'); //} //add_filter('the_content', 'custom_content'); -?> \ No newline at end of file +?> diff --git a/js/app.js b/js/app.js index 4c9656c..12522f8 100644 --- a/js/app.js +++ b/js/app.js @@ -13,8 +13,6 @@ sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_li $("form.findARoom").submit(function() { var date1val = $(this).find("input[name=datepicker1]").val(); var date2val = $(this).find("input[name=datepicker2]").val(); - console.log(date1val); - console.log(date2val); var numOfRooms = $(this).find(".num_rooms").val(); var date1valid = false; var date2valid = false; diff --git a/js/custom/findaroom.js b/js/custom/findaroom.js index 259d3c6..add469b 100644 --- a/js/custom/findaroom.js +++ b/js/custom/findaroom.js @@ -4,8 +4,6 @@ $(document).ready(function () { $("form.findARoom").submit(function() { var date1val = $(this).find("input[name=datepicker1]").val(); var date2val = $(this).find("input[name=datepicker2]").val(); - console.log(date1val); - console.log(date2val); var numOfRooms = $(this).find(".num_rooms").val(); var date1valid = false; var date2valid = false; diff --git a/style.css b/style.css index 3b45ca4..df98bb0 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: MountPleasantCVB Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for MountPleasantCVB -Version: 1.0.10 +Version: 1.0.11 */