diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-29 19:56:44 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-29 19:56:44 +0200 |
commit | 04ffc7fb11f9e98991ee5bc0511ce5d96a7755c7 (patch) | |
tree | 0b89474eb0345be62066bbbf44113862a8650ccf /themes/default | |
parent | 0dd043c19b08ca46ee03989186df0de01e60f798 (diff) | |
parent | 2869f018045c5a2f4f7525a5ea6d98348495540d (diff) | |
download | wallabag-04ffc7fb11f9e98991ee5bc0511ce5d96a7755c7.tar.gz wallabag-04ffc7fb11f9e98991ee5bc0511ce5d96a7755c7.tar.zst wallabag-04ffc7fb11f9e98991ee5bc0511ce5d96a7755c7.zip |
Merge pull request #1825 from wallabag/v1.9.2-remove-swipe-actions
remove buggy swipe actions
Diffstat (limited to 'themes/default')
-rwxr-xr-x | themes/default/view.twig | 8 |
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 %} |