// use keyboard to do actions
actionArticle('{{ entry.id|e }}');
-
- // swipe to right or left on mobile to navigate
- $('article').on("swiperight", function(){
- goLeft('?view=view&id={{ navigate.nextid|e }}');
- });
- $('article').on("swipeleft", function(){
- goRight('?view=view&id={{ navigate.previousid|e }}');
- });
-
</script>
{% endblock %}