From f5cad00f847b5437d441d48c6450d23d3c6a5900 Mon Sep 17 00:00:00 2001 From: Martin Halfar Date: Fri, 22 Oct 2021 22:53:11 +0200 Subject: [PATCH] Fixed loader popup not closing --- js/core/idb.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/core/idb.js b/js/core/idb.js index 387eadbf8..0a8e190cf 100644 --- a/js/core/idb.js +++ b/js/core/idb.js @@ -224,7 +224,9 @@ class DatabaseUtils { let database = await new IndexedDBWrapper(... DATABASE_PARAMS_V5).open(); if (attemptMigration) { + PopupController.close(LoaderPopup); await PopupController.open(PendingMigrationPopup); + PopupController.open(LoaderPopup); if (SiteOptions.migration_allowed) { Logger.log('MIGRATE', `Migrating files`);