mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:59:28 +08:00
[all] refactoring
This commit is contained in:
@ -118,10 +118,7 @@
|
||||
colors.push('--' + c + ':' + objtheme.colors[c]);
|
||||
}
|
||||
|
||||
var style = document.createElement('style');
|
||||
style.type = 'text/css';
|
||||
style.innerHTML = '.' + objtheme.id + '{' + colors.join(';') + ';}';
|
||||
document.getElementsByTagName('head')[0].appendChild(style);
|
||||
inject_style_tag('.' + objtheme.id + '{' + colors.join(';') + ';}');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user