lint compliance

pull/1/head
yflory 7 years ago
parent 01fb497e1b
commit 9cba630700

@ -1479,7 +1479,7 @@ RPC.create = function (
Respond(void 0, "OK"); Respond(void 0, "OK");
}); });
case 'REMOVE_PINS': case 'REMOVE_PINS':
return void removePins(Env, safeKey, function (e, response) { return void removePins(Env, safeKey, function (e) {
if (e) { return void Respond(e); } if (e) { return void Respond(e); }
Respond(void 0, "OK"); Respond(void 0, "OK");
}); });

@ -583,7 +583,7 @@ define([
Store.resetDrive = function (data, cb) { Store.resetDrive = function (data, cb) {
nThen(function (waitFor) { nThen(function (waitFor) {
removeOwnedPads(waitFor); removeOwnedPads(waitFor);
}).nThen(function (waitFor) { }).nThen(function () {
store.proxy.drive = store.fo.getStructure(); store.proxy.drive = store.fo.getStructure();
onSync(cb); onSync(cb);
}); });

@ -335,6 +335,7 @@ define([
$button.click(function () { $button.click(function () {
$spinner.show(); $spinner.show();
UI.confirm(Messages.settings_deleteConfirm, function (yes) { UI.confirm(Messages.settings_deleteConfirm, function (yes) {
if (!yes) { return; }
sframeChan.query("Q_SETTINGS_DELETE_ACCOUNT", null, function (err, data) { sframeChan.query("Q_SETTINGS_DELETE_ACCOUNT", null, function (err, data) {
// Owned drive // Owned drive
if (data.state === true) { if (data.state === true) {

Loading…
Cancel
Save