You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/10/02 13:27:21 UTC

[whimsy] branch master updated: swipe fixes

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 559b568  swipe fixes
559b568 is described below

commit 559b568fb34cb4ff25737044b950897af4af58a7
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Oct 2 09:27:12 2017 -0400

    swipe fixes
---
 www/board/agenda/views/touch.js.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/board/agenda/views/touch.js.rb b/www/board/agenda/views/touch.js.rb
index 2778081..70ae30e 100644
--- a/www/board/agenda/views/touch.js.rb
+++ b/www/board/agenda/views/touch.js.rb
@@ -41,11 +41,11 @@ class Touch
         link.click() if link
 
       when 'right'
-        link = document.querySelector("a[rel=prev]")
+        link = document.querySelector("a[rel=next]")
         link.click() if link
 
       when 'up', 'down'
-        Main.navigate history.state.path.sub(/\w+\/?$/, '') || '.'
+        Main.navigate history.state.path.sub(/[^\/]\/?$/, '') || '.'
       end
     end
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].