From c70f3888e0ed135ecf86710e89d231f5b3fc40b0 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 2 Mar 2021 10:44:34 +0100 Subject: [PATCH] Fix spinner not removed when account deletio is canceled --- www/settings/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/settings/inner.js b/www/settings/inner.js index 82e3086e2..8feef06e4 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -487,7 +487,7 @@ define([ $button.click(function() { $spinner.show(); UI.confirm(Messages.settings_deleteConfirm, function(yes) { - if (!yes) { return; } + if (!yes) { return void $spinner.hide(); } sframeChan.query("Q_SETTINGS_DELETE_ACCOUNT", null, function(err, data) { // Owned drive if (data.state === true) {