Fixed issue with mobile nav choosing the last option by default. Fixes #950.
This commit is contained in:
parent
510c6d602b
commit
43751b76d3
@ -11,6 +11,7 @@ function getNav() {
|
|||||||
mobileNav.children('select').bind('change', function(event) {
|
mobileNav.children('select').bind('change', function(event) {
|
||||||
if (event.target.value) { window.location.href = event.target.value; }
|
if (event.target.value) { window.location.href = event.target.value; }
|
||||||
});
|
});
|
||||||
|
mobileNav.children('select').val('');
|
||||||
}
|
}
|
||||||
|
|
||||||
function addSidebarToggler() {
|
function addSidebarToggler() {
|
||||||
|
Loading…
Reference in New Issue
Block a user