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

This commit is contained in:
Floyd Pink 2013-02-15 02:26:06 +01:00 committed by Parker Moore
parent ccd9b57233
commit f674b8e764

View File

@ -12,6 +12,7 @@ var octopress = (function(){
mobileNav.find('select').bind('change', function(event) {
if (event.target.value) { window.location.href = event.target.value; }
});
mobileNav.find('select').val('');
}
, addSidebarToggler: function () {