Merge branch 'soon' into staging

This commit is contained in:
yflory 2017-06-09 15:56:45 +02:00
commit 75c3c10b20

View file

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