mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 15:06:10 +08:00
@ -92,7 +92,8 @@ require([
|
||||
|
||||
var api = new Asc.asc_docs_api({
|
||||
'id-view' : 'editor_sdk',
|
||||
using : 'reporter'
|
||||
using : 'reporter',
|
||||
skin : (localStorage.getItem("ui-theme") == "theme-dark") ? "flatDark" : "flat"
|
||||
});
|
||||
|
||||
var setDocumentTitle = function(title) {
|
||||
|
||||
@ -93,12 +93,10 @@ require([
|
||||
|
||||
var api = new Asc.asc_docs_api({
|
||||
'id-view' : 'editor_sdk',
|
||||
using : 'reporter'
|
||||
using : 'reporter',
|
||||
skin : (localStorage.getItem("ui-theme") == "theme-dark") ? "flatDark" : "flat"
|
||||
});
|
||||
|
||||
var value = localStorage.getItem("ui-theme");
|
||||
api.asc_setSkin(value == "theme-dark" ? 'flatDark' : "flat");
|
||||
|
||||
var setDocumentTitle = function(title) {
|
||||
(title) && (window.document.title += (' - ' + title));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user