Fix ES6
This commit is contained in:
parent
21c39572be
commit
8ab9248a78
@ -30,7 +30,7 @@ define([
|
||||
var cryptKey = secret.keys && secret.keys.fileKeyStr;
|
||||
var fileId = secret.channel;
|
||||
var hexFileName = Cryptpad.base64ToHex(fileId);
|
||||
var type = "image/png";
|
||||
// var type = "image/png";
|
||||
|
||||
var parsed = Cryptpad.parsePadUrl(window.location.href);
|
||||
var defaultName = Cryptpad.getDefaultName(parsed);
|
||||
@ -105,7 +105,7 @@ define([
|
||||
*
|
||||
* @type {Array}
|
||||
*/
|
||||
const allowedMediaTypes = [
|
||||
var allowedMediaTypes = [
|
||||
'image/png',
|
||||
'image/jpeg',
|
||||
'image/jpg',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user