aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default')
-rwxr-xr-xthemes/default/view.twig8
1 files changed, 0 insertions, 8 deletions
diff --git a/themes/default/view.twig b/themes/default/view.twig
index 0010d18f..d1b6496e 100755
--- a/themes/default/view.twig
+++ b/themes/default/view.twig
@@ -129,13 +129,5 @@
129 // Use left and right arrow to navigate on with keyboard 129 // Use left and right arrow to navigate on with keyboard
130 navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|e }}'); 130 navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|e }}');
131 131
132 // swipe to right or left on mobile to navigate
133 $('article').on("swiperight", function(){
134 goLeft('?view=view&id={{ navigate.nextid|e }}');
135 });
136 $('article').on("swipeleft", function(){
137 goRight('?view=view&id={{ navigate.previousid|e }}');
138 });
139
140 </script> 132 </script>
141{% endblock %} 133{% endblock %}