Fix /bglock command
| @@ -111,7 +111,7 @@ function onLockBackgroundClick(e) { | |||
| 111 | return ''; | 111 | return ''; |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | const relativeBgImage = getUrlParameter(this); | 114 | const relativeBgImage = getUrlParameter(this) ?? background_settings.url; |
| 115 | 115 | ||
| 116 | saveBackgroundMetadata(relativeBgImage); | 116 | saveBackgroundMetadata(relativeBgImage); |
| 117 | setCustomBackground(); | 117 | setCustomBackground(); |