remove buggy swipe actions

This commit is contained in:
Thomas Citharel 2016-03-29 19:34:04 +02:00
parent 0dd043c19b
commit 2869f01804
2 changed files with 0 additions and 17 deletions

View file

@ -113,14 +113,5 @@
// 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 %}

View file

@ -129,13 +129,5 @@
// Use left and right arrow to navigate on with keyboard
navigateKeyboard('?view=view&id={{ navigate.nextid|e }}','?view=view&id={{ navigate.previousid|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 %}