tdweb: windows.indexedDb -> indexedDB
GitOrigin-RevId: f7d4b7ae785c3f2e0ae2e04b54fe34ce0bfff68a
This commit is contained in:
parent
8f72e0daea
commit
eec3a5205c
@ -442,7 +442,7 @@ class FileManager {
|
||||
|
||||
init() {
|
||||
this.idb = new Promise((resolve, reject) => {
|
||||
const request = window.indexedDB.open(this.instanceName);
|
||||
const request = indexedDB.open(this.instanceName);
|
||||
request.onsuccess = () => resolve(request.result);
|
||||
request.onerror = () => reject(request.error);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user