Mod now does nothing if pageColor isn't set

to suppress that undefine error
This commit is contained in:
O-01-67 2022-05-17 13:39:17 -04:00 committed by GitHub
parent b3176a8c0c
commit 55d94a9a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,6 @@ if(urlParams.get('pageColor') != null) { //null check
!settings.bg ? color = "black" : color = settings.bg;
color = settings.bg;
};
};
color_Would_Be_A_Triplet_If_It_Started_With_An_Octothorpe = null;
color_Is_Supported_As_A_Background_By_The_Browser = null;
@ -33,3 +32,4 @@ if(color_Is_Supported_As_A_Background_By_The_Browser == false && color_Would_Be_
}
document.body.style.background = color;
};