|
|
@ -11,10 +11,13 @@ define([
|
|
|
|
common.initIframe = function (waitFor, isRt, pathname) {
|
|
|
|
common.initIframe = function (waitFor, isRt, pathname) {
|
|
|
|
var requireConfig = RequireConfig();
|
|
|
|
var requireConfig = RequireConfig();
|
|
|
|
var lang = Messages._languageUsed;
|
|
|
|
var lang = Messages._languageUsed;
|
|
|
|
|
|
|
|
var themeKey = 'CRYPTPAD_STORE|colortheme';
|
|
|
|
var req = {
|
|
|
|
var req = {
|
|
|
|
cfg: requireConfig,
|
|
|
|
cfg: requireConfig,
|
|
|
|
req: [ '/common/loading.js' ],
|
|
|
|
req: [ '/common/loading.js' ],
|
|
|
|
pfx: window.location.origin,
|
|
|
|
pfx: window.location.origin,
|
|
|
|
|
|
|
|
theme: localStorage[themeKey],
|
|
|
|
|
|
|
|
themeOS: localStorage[themeKey+'_default'],
|
|
|
|
lang: lang
|
|
|
|
lang: lang
|
|
|
|
};
|
|
|
|
};
|
|
|
|
window.rc = requireConfig;
|
|
|
|
window.rc = requireConfig;
|
|
|
|