Browse Source

Update flg.js

pull/1/head
schlagma 4 years ago
committed by GitHub
parent
commit
4a853f9595
  1. 16
      js/flg.js

16
js/flg.js

@ -1 +1,17 @@
function hiddenBody() {
var body = document.getElementById('body');
var mnNav = document.getElementById('mn-nav');
if (body.style.overflow === 'hidden') {
body.style.overflow = 'visible';
} else {
body.style.overflow = 'hidden';
}
if (mnNav.style.translate === 'translateX(0)') {
mnNav.style.translate = 'translateX(-100%)';
} else {
mnNav.style.translate = 'translateX(0)';
}
}
Loading…
Cancel
Save