Skip to content

Commit 1b171c5

Browse files
committed
[UX] Fixed theme configuration caching bug.
1 parent 3743daf commit 1b171c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/themesDOM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ if (self.document) {
8686

8787
Themes.refreshVintage = isVintage => {
8888
if (localStorage) try {
89-
localStorage.setItem(VINTAGE, isVintage || "");
89+
localStorage.setItem(Themes.VINTAGE, isVintage || "");
9090
} catch (e) {}
9191
document.documentElement.classList.toggle("vintage", isVintage === true);
9292
browser?.action?.setIcon({path: {64: `/img${isVintage ? "/vintage/" : "/"}ui-maybe64.png` }});

0 commit comments

Comments
 (0)