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

Function reload

scripts/reading.js:3464–3476  ·  view source on GitHub ↗
(full = false, imageIndex = false)

Source from the content-addressed store, hash-verified

3462}
3463
3464function reload(full = false, imageIndex = false)
3465{
3466 imageIndex = imageIndex !== false ? imageIndex : reloadIndex();
3467
3468 if(full)
3469 {
3470 dom.openComic(true, images[imageIndex].path, dom.history.mainPath, false, false, false, true);
3471 }
3472 else
3473 {
3474 read(readingCurrentPath, imageIndex, false, readingIsCanvas, readingIsEbook);
3475 }
3476}
3477
3478function change(key, value)
3479{

Callers

nothing calls this directly

Calls 2

reloadIndexFunction · 0.70
readFunction · 0.70

Tested by

no test coverage detected