Skip to content

Commit

Permalink
Refresh theme cookie expiration date
Browse files Browse the repository at this point in the history
  • Loading branch information
MinetaS committed Feb 3, 2025
1 parent a7255b0 commit abcb4ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/fishtest/static/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ function formatBytes(bytes) {
}

function handleApplicationThemes() {
if (!getCookie("theme")) {
setTheme(mediaTheme());
}
setTheme(getCookie("theme") ?? mediaTheme());

try {
window
Expand Down

0 comments on commit abcb4ce

Please sign in to comment.