Fix /bglock command

This commit is contained in:
Cohee
2025-01-31 20:37:11 +02:00
parent 9243a68b18
commit 47bb7ad6a1

View File

@ -111,7 +111,7 @@ function onLockBackgroundClick(e) {
return ''; return '';
} }
const relativeBgImage = getUrlParameter(this); const relativeBgImage = getUrlParameter(this) ?? background_settings.url;
saveBackgroundMetadata(relativeBgImage); saveBackgroundMetadata(relativeBgImage);
setCustomBackground(); setCustomBackground();