Merge pull request #21179 from Chocobo1/webui_style

WebUI: use native property to set styles
This commit is contained in:
Chocobo1 2024-08-12 15:08:26 +08:00 committed by GitHub
commit d9667b5221
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 50 additions and 80 deletions

View file

@ -172,10 +172,8 @@ window.addEventListener("DOMContentLoaded", () => {
});
/* MochaUI.Desktop = new MochaUI.Desktop();
MochaUI.Desktop.desktop.setStyles({
'background': '#fff',
'visibility': 'visible'
});*/
MochaUI.Desktop.desktop.style.background = "#fff";
MochaUI.Desktop.desktop.style.visibility = "visible"; */
MochaUI.Desktop.initialize();
const buildTransfersTab = function() {