set title when uploading

This commit is contained in:
ansuz committed 2017-05-04 18:25:06 +02:00
1 parent a0c420af8e
commit 660cda6573
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@ define([
var newU8 = FileCrypto.joinChunks(chunks);
FileCrypto.decrypt(newU8, key, function (e, res) {
var title = document.title = res.metadata.filename;
var title = document.title = res.metadata.name;
myFile = res.content;
myDataType = res.metadata.type;