Fixed issue with mobile nav choosing the last option by default. Fixes #950.

This commit is contained in:
Floyd Pink 2013-02-15 02:21:55 +01:00 committed by Parker Moore
parent 510c6d602b
commit 43751b76d3

View File

@ -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() {