pull/1/head
yflory 2017-06-15 15:02:31 +02:00
parent 7f25c9a8e1
commit c2c04bd5d8
1 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,7 @@ define([
Title.updateTitle(title || Title.defaultTitle);
var displayFile = function (ev) {
console.log(e);
$mt = $dlview.find('media-tag');
var $mt = $dlview.find('media-tag');
var cryptKey = secret.keys && secret.keys.fileKeyStr;
var hexFileName = Cryptpad.base64ToHex(secret.channel);
$mt.attr('src', '/blob/' + hexFileName.slice(0,2) + '/' + hexFileName);