mirror of https://github.com/xwiki-labs/cryptpad
Use default FILES_DATA name if not provided
This commit is contained in:
parent
fa1582f307
commit
e41cbb92d8
www/common
|
@ -13,7 +13,7 @@ define([
|
|||
var NEW_FOLDER_NAME = Messages.fm_newFolder;
|
||||
|
||||
var init = module.init = function (files, config) {
|
||||
FILES_DATA = config.storageKey;
|
||||
FILES_DATA = config.storageKey || FILES_DATA;
|
||||
var DEBUG = config.DEBUG || false;
|
||||
var logging = function () {
|
||||
console.log.apply(console, arguments);
|
||||
|
|
Loading…
Reference in New Issue