mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fix migration script for localstorage to indexeddb
This commit is contained in:
parent
e9b39a5c61
commit
30ea7fa079
@ -41,7 +41,7 @@
|
||||
// Create an object store "piskels" with the autoIncrement flag set as true.
|
||||
var objectStore = this.db.createObjectStore('piskels', { keyPath : 'name' });
|
||||
objectStore.transaction.oncomplete = function(event) {
|
||||
pskl.database.migrate.MigrateLocalStorageToIndexedDb.migrate(this.db);
|
||||
pskl.database.migrate.MigrateLocalStorageToIndexedDb.migrate(this);
|
||||
}.bind(this);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user