fix for double page skip on touch interface

This commit is contained in:
ajurna
2020-05-22 16:36:46 +01:00
parent 6f8a7bd4b8
commit 26bdd684a4

View File

@@ -89,12 +89,5 @@
Reveal.prev(); Reveal.prev();
} }
}) })
hammertime.on('tap', function (ev) {
if (Reveal.isLastSlide()){
window.location = "{% url "read_comic" nav.next_path %}"
} else {
Reveal.next()
}
})
</script> </script>
{% endblock %} {% endblock %}