fix bug where navbar burger button didn't always revert to the correct light one
This commit is contained in:
parent
040469e9ed
commit
58183b8a15
2 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,8 @@ var BeautifulJekyllJS = {
|
|||
) / 1000);
|
||||
if (brightness <= 125) {
|
||||
$(".navbar").removeClass("navbar-light").addClass("navbar-dark");
|
||||
} else {
|
||||
$(".navbar").removeClass("navbar-dark").addClass("navbar-light");
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue