Lint error

pull/1/head
yflory 8 years ago
parent 9694272083
commit c1402fbb0a

@ -296,7 +296,7 @@ define([
.on('change', ['drive', 'migrate'], function () { .on('change', ['drive', 'migrate'], function () {
var path = arguments[2]; var path = arguments[2];
var value = arguments[1]; var value = arguments[1];
if (path[0] === 'drive' && path[1] === "migrate" && value == 1) { if (path[0] === 'drive' && path[1] === "migrate" && value === 1) {
rt.network.disconnect(); rt.network.disconnect();
rt.realtime.abort(); rt.realtime.abort();
Cryptpad.alert(Cryptpad.Messages.fs_migration, null, true); Cryptpad.alert(Cryptpad.Messages.fs_migration, null, true);

Loading…
Cancel
Save