fixes
This commit is contained in:
parent
56cc24346f
commit
94ba026303
1 changed files with 4 additions and 2 deletions
|
|
@ -195,13 +195,15 @@
|
|||
</div>
|
||||
</footer>
|
||||
<script language="javascript">
|
||||
document.getElementsByClassName('navbar-burger')[0].onclick = function(){
|
||||
console.log('ready');
|
||||
var burgerMenu = document.getElementsByClassName('navbar-burger')[0];
|
||||
burgerMenu.onclick = function(){
|
||||
var x = document.getElementById("mainNavbar");
|
||||
if (x.style.display === "block") {
|
||||
x.style.display = "none";
|
||||
burgerMenu.classList.remove('is-active');
|
||||
} else {
|
||||
x.style.display = "block";
|
||||
burgerMenu.classList.add('is-active');
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue