mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 18:46:53 +00:00
fix for double page skip on touch interface
This commit is contained in:
1 parent
6f8a7bd4b8
commit
26bdd684a4
1 file changed
-7
@@ -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 %}
|
||||||
Reference in new issue
Block a user