testing hover function for ios
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 22 Jan 2016 21:28:08 +0000 (16:28 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 22 Jan 2016 21:28:08 +0000 (16:28 -0500)
js/app.js
js/custom/pageSetup.js

index a9ede56..e102c31 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -182,9 +182,11 @@ $(document).ready(function () {
     });
   
     $('#block-1, #block-2, #block-3').bind('touchstart', function(){
-      if($("#block-1").is(":hover")){
-          alert("test");
-      }
+         $('#block-1, #block-2, #block-3').on("click", function ()){
+            if($("#block-1").is(":hover")){
+            alert("test");         
+         }
+      });
    });
     
 //    if($(window).width() <= 1024){
index 36de4a9..f291170 100644 (file)
@@ -173,9 +173,11 @@ $(document).ready(function () {
     });
   
     $('#block-1, #block-2, #block-3').bind('touchstart', function(){
-      if($("#block-1").is(":hover")){
-          alert("test");
-      }
+         $('#block-1, #block-2, #block-3').on("click", function ()){
+            if($("#block-1").is(":hover")){
+            alert("test");         
+         }
+      });
    });
     
 //    if($(window).width() <= 1024){