aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/view.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-06-06 16:39:10 +0200
committerThomas Citharel <tcit@tcit.fr>2015-06-06 16:39:10 +0200
commit22a46267beef273f8602d569a22281af2207fdbe (patch)
tree550d900c76f4c29c63d8970298b72f84113ad2d5 /themes/baggy/view.twig
parentddbb2308a3302e2d2d6ff89f4dd3235f85d335e1 (diff)
downloadwallabag-22a46267beef273f8602d569a22281af2207fdbe.tar.gz
wallabag-22a46267beef273f8602d569a22281af2207fdbe.tar.zst
wallabag-22a46267beef273f8602d569a22281af2207fdbe.zip
implemented lots of keyboard shortcuts
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 }}');