1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-02 14:49:16 +02:00

storage is always rebelled with an object.

This commit is contained in:
Design_JY 2023-03-04 23:33:29 +09:00 committed by GitHub
parent 3565e476c9
commit 4df2fdd614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ class Store {
checkRequirements(){
try {
let store;
if (typeof localforage === "undefined") {
if (typeof store === "undefined") {
store = localforage;
}
this.storage = store.createInstance({