Fix spinner not removed when account deletio is canceled

pull/1/head
yflory 4 years ago
parent f77e68f1a9
commit c70f3888e0

@ -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) {

Loading…
Cancel
Save