lint compliance
This commit is contained in:
2
rpc.js
2
rpc.js
@@ -1479,7 +1479,7 @@ RPC.create = function (
|
||||
Respond(void 0, "OK");
|
||||
});
|
||||
case 'REMOVE_PINS':
|
||||
return void removePins(Env, safeKey, function (e, response) {
|
||||
return void removePins(Env, safeKey, function (e) {
|
||||
if (e) { return void Respond(e); }
|
||||
Respond(void 0, "OK");
|
||||
});
|
||||
|
||||
@@ -583,7 +583,7 @@ define([
|
||||
Store.resetDrive = function (data, cb) {
|
||||
nThen(function (waitFor) {
|
||||
removeOwnedPads(waitFor);
|
||||
}).nThen(function (waitFor) {
|
||||
}).nThen(function () {
|
||||
store.proxy.drive = store.fo.getStructure();
|
||||
onSync(cb);
|
||||
});
|
||||
|
||||
@@ -335,6 +335,7 @@ define([
|
||||
$button.click(function () {
|
||||
$spinner.show();
|
||||
UI.confirm(Messages.settings_deleteConfirm, function (yes) {
|
||||
if (!yes) { return; }
|
||||
sframeChan.query("Q_SETTINGS_DELETE_ACCOUNT", null, function (err, data) {
|
||||
// Owned drive
|
||||
if (data.state === true) {
|
||||
|
||||
Reference in New Issue
Block a user