* added django-sri and updated templates.

* updated requirements.txt

* datatables with integrity

* fixed recent comics not showing when related comicstatus doesnt exist.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixed classifications on recent comcis.

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fixes for pymupdy 1.18.13

* fix for pdf's not switching properly

* fix for comics's not switching properly

* fix for comics's not switching properly
This commit is contained in:
2021-05-16 10:54:14 +01:00
committed by GitHub
parent d5c53cd889
commit cd58379326
20 changed files with 304 additions and 273 deletions

View File

@@ -32,30 +32,30 @@ Reveal.on( 'slidechanged', event => {
const hammertime = new Hammer(document.getElementById('comic_box'), {});
hammertime.on('swipeleft', function (ev) {
if (Reveal.isLastSlide()){
window.location = "/comic/read/"+ nav.next_path +"/"
} else {
Reveal.next()
}
nextPage()
});
hammertime.on('swiperight', function (ev) {
if (Reveal.isFirstSlide()){
window.location = "/comic/read/"+ nav.prev_path +"/"
} else {
Reveal.prev();
}
prevPage()
});
function prevPage() {
if (Reveal.isFirstSlide()){
window.location = "/comic/read/"+ nav.prev_path +"/"
if (nav.prev_type === 'ComicBook'){
window.location = "/comic/read/"+ nav.prev_path +"/"
} else {
window.location = "/comic/"+ nav.prev_path +"/"
}
} else {
Reveal.prev();
}
}
function nextPage() {
if (Reveal.isLastSlide()){
window.location = "/comic/read/"+ nav.next_path +"/"
if (nav.next_type === 'ComicBook'){
window.location = "/comic/read/"+ nav.next_path +"/"
} else {
window.location = "/comic/"+ nav.next_path +"/"
}
} else {
Reveal.next()
}