testing touchstart mobile function
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 22 Jan 2016 20:55:57 +0000 (15:55 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 22 Jan 2016 20:55:57 +0000 (15:55 -0500)
js/app.js
js/custom/pageSetup.js

index 07d86bf..1f81eff 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -180,12 +180,15 @@ $(document).ready(function () {
             $("#departOff").val(minDays);
         }
     });
+    $('#block-1. #block-2, #block-3').bind('touchstart', function(){
+        
+    });
     
-    if($(window).width() <= 1024){
-        $("#block-1, #block-2, #block-3").on("click", function () {
-            $(this).toggleClass('front-page-blocks');
-        });
-    }
+//    if($(window).width() <= 1024){
+//        $("#block-1, #block-2, #block-3").on("click", function () {
+//            $(this).toggleClass('front-page-blocks');
+//        });
+//    }
     
 //    $("#block-1, #block-2, #block-3").click(function () {
 //       var $tmp = $(this).find("p");
index 75d64db..b2e5d34 100644 (file)
@@ -171,12 +171,15 @@ $(document).ready(function () {
             $("#departOff").val(minDays);
         }
     });
+    $('#block-1. #block-2, #block-3').bind('touchstart', function(){
+        
+    });
     
-    if($(window).width() <= 1024){
-        $("#block-1, #block-2, #block-3").on("click", function () {
-            $(this).toggleClass('front-page-blocks');
-        });
-    }
+//    if($(window).width() <= 1024){
+//        $("#block-1, #block-2, #block-3").on("click", function () {
+//            $(this).toggleClass('front-page-blocks');
+//        });
+//    }
     
 //    $("#block-1, #block-2, #block-3").click(function () {
 //       var $tmp = $(this).find("p");