diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 9ee64fc0f..1381519c8 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -113,14 +113,5 @@ // 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 }}'); - }); - {% endblock %} diff --git a/themes/default/view.twig b/themes/default/view.twig index 0010d18fb..d1b6496e9 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -129,13 +129,5 @@ // 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 }}'); - }); - {% endblock %}