updates trying to fix changing theme bug
diff --git a/dev.js b/dev.js
index 2ab5ba9..9a741be 100644
--- a/dev.js
+++ b/dev.js
@@ -937,9 +937,7 @@
$(".background").addClass("trans");
clearTimeout(dtps.bgTimeout);
dtps.bgTimeout = setTimeout(function() {
- var next = window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue("--grad")
- if (dtps.fadedColors) next = "linear-gradient(to bottom right, " + window.getComputedStyle(document.getElementsByClassName("background")[0]).getPropertyValue($("body").hasClass("midnight") ? "--dark" : "--light") + ", " + jQuery("body").css("background-color") + ")"
- $(".background").css("background", next)
+ dtps.onThemeChange();
$(".background").removeClass("trans");
}, 500);
$(".background").removeClass(jQuery.grep($(".background").attr("class").split(" "), function (item, index) {