lille: move footer navigation to burger on mobile
This commit is contained in:
parent
af1b3b94cd
commit
c77ea3da4f
|
@ -0,0 +1 @@
|
|||
../lille/extra.js
|
|
@ -0,0 +1,10 @@
|
|||
$(function() {
|
||||
/* move footer to navigation menu on mobile... */
|
||||
var mql = window.matchMedia("screen and (max-width: 800px)");
|
||||
if (mql.matches) {
|
||||
var $burger = $('#nav ul');
|
||||
$('footer .menucell li').each(function(idx, li) {
|
||||
$(li).detach().addClass('footer-link').appendTo($burger);
|
||||
});
|
||||
}
|
||||
});
|
|
@ -0,0 +1 @@
|
|||
../lille/extra.js
|
Loading…
Reference in New Issue