mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Fix butterchurn links with BLM colors
This commit is contained in:
parent
e5dc59d8fc
commit
3d39b4a201
1 changed files with 7 additions and 3 deletions
|
|
@ -112,10 +112,14 @@ async function main() {
|
|||
let __butterchurnOptions = null;
|
||||
let __initialWindowLayout = null;
|
||||
if (isButterchurnSupported()) {
|
||||
const params = new URLSearchParams(location.search);
|
||||
const butterchurnPresetUrlParam = params.get("butterchurnPresetUrl");
|
||||
|
||||
const startWithMilkdropHidden =
|
||||
document.body.clientWidth < MIN_MILKDROP_WIDTH ||
|
||||
skinUrl != null ||
|
||||
screenshot;
|
||||
butterchurnPresetUrlParam == null &&
|
||||
(document.body.clientWidth < MIN_MILKDROP_WIDTH ||
|
||||
skinUrl != null ||
|
||||
screenshot);
|
||||
|
||||
__butterchurnOptions = getButterchurnOptions(startWithMilkdropHidden);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue