integration/js/taghome.js
changeset 73 fb4d0566ab19
parent 64 458cc4576415
--- a/integration/js/taghome.js	Mon Jan 07 15:54:47 2013 +0100
+++ b/integration/js/taghome.js	Wed Jan 09 16:50:00 2013 +0100
@@ -67,7 +67,7 @@
     $(".arrow_bottom").data({xdelta: 0, ydelta: -6});
     
     $(".arrow")
-        .mousedown(function() {
+        .on("touchstart mousedown", function(evt) {
             var deltas = $(this).data(),
                 move = function() {
                     tagsInner.css({
@@ -78,9 +78,10 @@
             window.clearInterval(dragtimeout);
             dragtimeout = window.setInterval(move, 20);
             move();
+            return false;
         })
         .on(
-            "mouseout mouseup",
+            "touchend mouseout mouseup",
             function() {
                 window.clearInterval(dragtimeout);
             }
@@ -206,4 +207,10 @@
             resizeTags();
         }
     });
+    
+    $("#btnInfo, .lightBoxClose").click(function() {
+        $(".lightBoxWrap").toggle();
+        return false;
+    });
+    
 }