]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
remove buggy swipe actions 1825/head
authorThomas Citharel <tcit@tcit.fr>
Tue, 29 Mar 2016 17:34:04 +0000 (19:34 +0200)
committerThomas Citharel <tcit@tcit.fr>
Tue, 29 Mar 2016 17:34:04 +0000 (19:34 +0200)
themes/baggy/view.twig
themes/default/view.twig

index 9ee64fc0f6fd3ad24ceda6147832de89f842e1d0..1381519c84bfd56b02b4289c2b2a4668170ef58e 100755 (executable)
 
         // use keyboard to do actions
         actionArticle('{{ entry.id|e }}');
-
-        // swipe to right or left on mobile to navigate
-        $('article').on("swiperight", function(){
-            goLeft('?view=view&id={{ navigate.nextid|e }}');
-        });
-        $('article').on("swipeleft", function(){
-            goRight('?view=view&id={{ navigate.previousid|e }}');
-        });
-
         </script>
 {% endblock %}
index 0010d18fb8da437899af6552f5ca46779fa5bb8f..d1b6496e9d4d705ed59a4d3a6e8fb58280dfb388 100755 (executable)
         // Use left and right arrow to navigate on with keyboard
         navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|e }}');
 
-        // swipe to right or left on mobile to navigate
-        $('article').on("swiperight", function(){
-            goLeft('?view=view&id={{ navigate.nextid|e }}');
-        });
-        $('article').on("swipeleft", function(){
-            goRight('?view=view&id={{ navigate.previousid|e }}');
-        });
-
         </script>
 {% endblock %}