From 7f16f2e418a515343a5dd9a83b63e71ac215c498 Mon Sep 17 00:00:00 2001 From: Alexis Sukrieh Date: Sat, 9 Oct 2010 15:59:52 +0200 Subject: [PATCH] remote is not multitouch anymore --- views/layouts/main.tt | 15 ++++++--------- views/slideshow.tt | 5 +++++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/views/layouts/main.tt b/views/layouts/main.tt index ee78b38..e63c1c7 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -32,17 +32,14 @@ <% if is_multi_touch %>
-REMOTE : <% request.agent %> + +
+PREV +  +NEXT +
<% end %> - - - -
-
-
-
- diff --git a/views/slideshow.tt b/views/slideshow.tt index 6b5fb5b..5a3dcef 100644 --- a/views/slideshow.tt +++ b/views/slideshow.tt @@ -4,6 +4,7 @@ window.slide = 0; <% if is_multi_touch %> window.broadway_effects = 0; +/* document.addEventListener('touchmove', function(event) { event.preventDefault(); point_x = event.touches[0].pageX; @@ -18,6 +19,8 @@ document.addEventListener('touchmove', function(event) { broadway_refresh(); } }, false); +*/ + <% else %> @@ -43,3 +46,5 @@ window.setInterval(function() {
+ +