testing jquery work around for ios click tap event
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 25 Jan 2016 13:32:12 +0000 (08:32 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 25 Jan 2016 13:32:12 +0000 (08:32 -0500)
js/app.js
js/custom/pageSetup.js

index 778737e..d0df26c 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -180,14 +180,14 @@ $(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');
-         });
-    }
+    $('#block-1, #block-2, #block-3').bind('click tap', function(){
+      
+   });
+//    if($(window).width() <= 1024){
+//         $("#block-1, #block-2, #block-3").on("click", function () {
+//             $(this).toggleClass('front-page-blocks');
+//         });
+//    }
 
     
 //    if($(window).width() <= 1024){
index 2d0e82c..0d6f794 100644 (file)
@@ -171,14 +171,14 @@ $(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');
-         });
-    }
+    $('#block-1, #block-2, #block-3').bind('click tap', function(){
+      
+   });
+//    if($(window).width() <= 1024){
+//         $("#block-1, #block-2, #block-3").on("click", function () {
+//             $(this).toggleClass('front-page-blocks');
+//         });
+//    }
 
     
 //    if($(window).width() <= 1024){