Web/scripts/navbar.js

5 lines
137 B
JavaScript
Raw Normal View History

if (dark) {
let navbar = $("#navbar");
navbar.removeClass("navbar-light bg-light");
navbar.addClass("navbar-dark bg-dark");
}