diff options
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/view.twig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 9ee64fc0..1381519c 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig | |||
@@ -113,14 +113,5 @@ | |||
113 | 113 | ||
114 | // use keyboard to do actions | 114 | // use keyboard to do actions |
115 | actionArticle('{{ entry.id|e }}'); | 115 | actionArticle('{{ entry.id|e }}'); |
116 | |||
117 | // swipe to right or left on mobile to navigate | ||
118 | $('article').on("swiperight", function(){ | ||
119 | goLeft('?view=view&id={{ navigate.nextid|e }}'); | ||
120 | }); | ||
121 | $('article').on("swipeleft", function(){ | ||
122 | goRight('?view=view&id={{ navigate.previousid|e }}'); | ||
123 | }); | ||
124 | |||
125 | </script> | 116 | </script> |
126 | {% endblock %} | 117 | {% endblock %} |