[MainWindow] Fix minor syntax error

This commit is contained in:
Ducko 2021-12-26 14:06:10 +00:00
parent a55f27f5c4
commit 245ed3f54a

View file

@ -1,4 +1,4 @@
const lastBgPrimary = '';
let lastBgPrimary = '';
const update = async () => {
const getVar = (name, el = document.body) => el && (getComputedStyle(el).getPropertyValue(name) || getVar(name, el.parentElement)).trim();