Web/scripts/navbar.js
2018-12-30 02:26:56 +01:00

5 lines
No EOL
137 B
JavaScript

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