MCPcopy
hub / github.com/ollm/OpenComic / goPrevComic

Function goPrevComic

scripts/reading.js:1550–1564  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1548}
1549
1550function goPrevComic()
1551{
1552 const hasComic = readingManga() ? dom.nextComic() : dom.previousComic();
1553
1554 if(hasComic)
1555 {
1556 let speed = _config.readingViewSpeed;
1557 _config.readingViewSpeed = 0;
1558
1559 let double = goStart();
1560 if(double) goStart();
1561
1562 _config.readingViewSpeed = speed;
1563 }
1564}
1565
1566//Go to the end of the comic
1567function goEnd(force = false)

Callers

nothing calls this directly

Calls 2

readingMangaFunction · 0.85
goStartFunction · 0.85

Tested by

no test coverage detected