Mod now does nothing if pageColor isn't set
to suppress that undefine error
This commit is contained in:
parent
b3176a8c0c
commit
55d94a9a92
|
|
@ -11,7 +11,6 @@ if(urlParams.get('pageColor') != null) { //null check
|
||||||
!settings.bg ? color = "black" : color = settings.bg;
|
!settings.bg ? color = "black" : color = settings.bg;
|
||||||
color = settings.bg;
|
color = settings.bg;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
color_Would_Be_A_Triplet_If_It_Started_With_An_Octothorpe = null;
|
color_Would_Be_A_Triplet_If_It_Started_With_An_Octothorpe = null;
|
||||||
color_Is_Supported_As_A_Background_By_The_Browser = 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;
|
document.body.style.background = color;
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue