Removed HTML style function

This commit is contained in:
Swiftzerr 2022-01-12 20:21:25 -05:00
parent 78304590f7
commit e93381052d

View file

@ -352,22 +352,6 @@ const app = new Vue({
navigateForward() { navigateForward() {
history.forward() history.forward()
}, },
getHTMLStyle() {
switch (this.cfg.visual.window_transparency) {
case "acrylic":
default:
document.querySelector("html").style.background = "";
document.querySelector("body").style.background = "";
document.querySelector("body").classList.remove("notransparency")
break;
case "disabled":
document.querySelector("html").style.background = "#222";
document.querySelector("body").classList.add("notransparency")
// document.querySelector("body").style.background = "#222";
break;
}
},
resetState() { resetState() {
app.selectedMediaItems = []; app.selectedMediaItems = [];
for (let key in app.modals) { for (let key in app.modals) {