diff --git a/public/scripts/backgrounds.js b/public/scripts/backgrounds.js index 4ec8bf1f6..3deef929a 100644 --- a/public/scripts/backgrounds.js +++ b/public/scripts/backgrounds.js @@ -111,7 +111,7 @@ function onLockBackgroundClick(e) { return ''; } - const relativeBgImage = getUrlParameter(this); + const relativeBgImage = getUrlParameter(this) ?? background_settings.url; saveBackgroundMetadata(relativeBgImage); setCustomBackground();