Change javascript active class
This commit is contained in:
parent
d399dbc8c3
commit
c1042d8052
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang={{ site.lang }} class="no-js">
|
<html lang={{ site.lang }}>
|
||||||
<head>
|
<head>
|
||||||
{% include "partials/metas.html" %}
|
{% include "partials/metas.html" %}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// Javascript is active
|
// Javascript is active
|
||||||
document.documentElement.classList.remove('no-js');
|
document.documentElement.classList.add('js');
|
||||||
|
|
||||||
// Update navigation according to page scroll
|
// Update navigation according to page scroll
|
||||||
const options = {
|
const options = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue