forked from DGNum/gestiojeux
14 lines
244 B
HTML
14 lines
244 B
HTML
<script>
|
|
function mobile_nav_toggle() {
|
|
$("nav > a").slideToggle(300);
|
|
}
|
|
|
|
$(window).resize(function () {
|
|
if(window.innerWidth > 475) {
|
|
$("nav > a").show(0);
|
|
}
|
|
else {
|
|
$("nav > a").hide(0);
|
|
}
|
|
});
|
|
</script>
|