scooterpsu / Comixology_Ubooquity_2

38 stars 7 forks source link

Comic char header css #17

Closed mrussojr closed 5 years ago

mrussojr commented 5 years ago

Updated to use CSS for changing the header section for comic character pages based on setting comicCharHeader (true | false).

scooterpsu commented 5 years ago

Only other change I would make is to not require a line added to settings.js (but allow it to read if it's there).

Assume some people will be updating theirs without replacing settings.js, since that was the idea of moving it outside of themeScript.js in the first place.

Here I'm looking for themeVariant in settings.js, but if it's not there I'm giving it a value.

mrussojr commented 5 years ago

I added a check for null before using that variable.