aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/view.twig
diff options
context:
space:
mode:
Diffstat (limited to 'themes/baggy/view.twig')
-rwxr-xr-xthemes/baggy/view.twig3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig
index ebc30b69..9ee64fc0 100755
--- a/themes/baggy/view.twig
+++ b/themes/baggy/view.twig
@@ -111,6 +111,9 @@
111 // Use left and right arrow to navigate on with keyboard 111 // Use left and right arrow to navigate on with keyboard
112 navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|e }}'); 112 navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|e }}');
113 113
114 // use keyboard to do actions
115 actionArticle('{{ entry.id|e }}');
116
114 // swipe to right or left on mobile to navigate 117 // swipe to right or left on mobile to navigate
115 $('article').on("swiperight", function(){ 118 $('article').on("swiperight", function(){
116 goLeft('?view=view&id={{ navigate.nextid|e }}'); 119 goLeft('?view=view&id={{ navigate.nextid|e }}');