mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
EPUB: fixed unload func not added to section
Missed it for some reason
This commit is contained in:
@@ -613,6 +613,7 @@ export class EPUB {
|
|||||||
return {
|
return {
|
||||||
id: this.resources.getItemByID(idref)?.href,
|
id: this.resources.getItemByID(idref)?.href,
|
||||||
load: () => loader.loadItem(item),
|
load: () => loader.loadItem(item),
|
||||||
|
unload: () => loader.unloadItem(item),
|
||||||
createDocument: () => this.loadDocument(item),
|
createDocument: () => this.loadDocument(item),
|
||||||
size: this.getSize(item.href),
|
size: this.getSize(item.href),
|
||||||
cfi: this.resources.cfis[index],
|
cfi: this.resources.cfis[index],
|
||||||
|
|||||||
Reference in New Issue
Block a user