aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFloyd Pink <imbleedingme@googlemail.com>2013-02-15 02:21:55 +0100
committerParker Moore <parkrmoore@gmail.com>2013-02-15 02:22:58 +0100
commit43751b76d3a3e217b367fa5581ef6032379d1c49 (patch)
tree5beda990f3405f6df7f07652fbfdacadce14e41c
parent510c6d602be599db76b3f840ae94236f90f06d7a (diff)
downloadmy_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 '')
-rw-r--r--.themes/classic/source/javascripts/octopress.js1
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() {