diff options
author | Floyd Pink <imbleedingme@googlemail.com> | 2013-02-15 02:21:55 +0100 |
---|---|---|
committer | Parker Moore <parkrmoore@gmail.com> | 2013-02-15 02:22:58 +0100 |
commit | 43751b76d3a3e217b367fa5581ef6032379d1c49 (patch) | |
tree | 5beda990f3405f6df7f07652fbfdacadce14e41c /.themes | |
parent | 510c6d602be599db76b3f840ae94236f90f06d7a (diff) | |
download | my_new_personal_website-43751b76d3a3e217b367fa5581ef6032379d1c49.tar.xz my_new_personal_website-43751b76d3a3e217b367fa5581ef6032379d1c49.zip |
Fixed issue with mobile nav choosing the last option by default. Fixes #950.
Diffstat (limited to '.themes')
-rw-r--r-- | .themes/classic/source/javascripts/octopress.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index 379e6630..775fd335 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -11,6 +11,7 @@ function getNav() { mobileNav.children('select').bind('change', function(event) { if (event.target.value) { window.location.href = event.target.value; } }); + mobileNav.children('select').val(''); } function addSidebarToggler() { |