From c1402fbb0ab1aae203b1e74bb8ac98ea6a69f5aa Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 9 Jun 2017 15:56:18 +0200 Subject: [PATCH] Lint error --- www/common/fsStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/fsStore.js b/www/common/fsStore.js index 67d87ed9c..35bd9a048 100644 --- a/www/common/fsStore.js +++ b/www/common/fsStore.js @@ -296,7 +296,7 @@ define([ .on('change', ['drive', 'migrate'], function () { var path = arguments[2]; 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.realtime.abort(); Cryptpad.alert(Cryptpad.Messages.fs_migration, null, true);