Store the FS_hash in the user object after the merge

This commit is contained in:
yflory
2017-05-16 11:25:37 +02:00
parent 87fa28180a
commit 1a7c4d5ebe

View File

@@ -188,6 +188,10 @@ define([
newRecentPads.push(data); newRecentPads.push(data);
} }
}); });
if (!proxy.FS_hashes || !Array.isArray(proxy.FS_hashes)) {
proxy.FS_hashes = [];
}
proxy.FS_hashes.push(localStorage.FS_hash);
} }
if (typeof(cb) === "function") { cb(); } if (typeof(cb) === "function") { cb(); }
}; };