Fix console bug for IE
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 27 Oct 2015 19:13:59 +0000 (15:13 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 27 Oct 2015 19:13:59 +0000 (15:13 -0400)
functions.php
js/app.js
js/custom/findaroom.js
style.css

index 8371bc2..cddd90e 100644 (file)
@@ -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
+?>
index 4c9656c..12522f8 100644 (file)
--- 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;
index 259d3c6..add469b 100644 (file)
@@ -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;
index 3b45ca4..df98bb0 100644 (file)
--- 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
 */