Merge pull request #1825 from wallabag/v1.9.2-remove-swipe-actions
remove buggy swipe actions
This commit is contained in:
commit
04ffc7fb11
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user