[dark theme] changed script for deployment
This commit is contained in:
parent
900a179f7e
commit
1cd0586ed6
|
@ -203,6 +203,11 @@
|
|||
window.frameEditorId = params["frameEditorId"];
|
||||
window.parentOrigin = params["parentOrigin"];
|
||||
|
||||
var ui_theme_name = params.uitheme || localStorage.getItem("ui-theme");
|
||||
if ( !!ui_theme_name ) {
|
||||
document.documentElement.classList.add(ui_theme_name);
|
||||
}
|
||||
|
||||
if ( window.AscDesktopEditor ) {
|
||||
window.desktop = window.AscDesktopEditor;
|
||||
window.on_native_message = function (cmd, param) {
|
||||
|
|
|
@ -240,6 +240,11 @@
|
|||
window.frameEditorId = params["frameEditorId"];
|
||||
window.parentOrigin = params["parentOrigin"];
|
||||
|
||||
var ui_theme_name = params.uitheme || localStorage.getItem("ui-theme");
|
||||
if ( !!ui_theme_name ) {
|
||||
document.documentElement.classList.add(ui_theme_name);
|
||||
}
|
||||
|
||||
if ( window.AscDesktopEditor ) {
|
||||
window.desktop = window.AscDesktopEditor;
|
||||
window.on_native_message = function (cmd, param) {
|
||||
|
|
|
@ -240,6 +240,11 @@
|
|||
window.frameEditorId = params["frameEditorId"];
|
||||
window.parentOrigin = params["parentOrigin"];
|
||||
|
||||
var ui_theme_name = params.uitheme || localStorage.getItem("ui-theme");
|
||||
if ( !!ui_theme_name ) {
|
||||
document.documentElement.classList.add(ui_theme_name);
|
||||
}
|
||||
|
||||
if ( window.AscDesktopEditor ) {
|
||||
window.desktop = window.AscDesktopEditor;
|
||||
window.on_native_message = function (cmd, param) {
|
||||
|
|
|
@ -170,6 +170,10 @@
|
|||
window.frameEditorId = params["frameEditorId"];
|
||||
window.parentOrigin = params["parentOrigin"];
|
||||
|
||||
if ( !!params.uitheme ) {
|
||||
document.documentElement.classList.add(params.uitheme);
|
||||
}
|
||||
|
||||
if ( window.AscDesktopEditor ) {
|
||||
window.desktop = window.AscDesktopEditor;
|
||||
window.on_native_message = function (cmd, param) {
|
||||
|
|
Loading…
Reference in a new issue