{{ content | expand_urls: root_url | smart_quotes }}
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js
index bdc4768..12ca23e 100644
--- a/.themes/classic/source/javascripts/octopress.js
+++ b/.themes/classic/source/javascripts/octopress.js
@@ -1,7 +1,7 @@
function getNav(){
- var mobileNav = $('body > nav fieldset[role=site-search]').after('').next().append('');
+ var mobileNav = $('nav[role=navigation] fieldset[role=site-search]').after('').next().append('');
mobileNav.children('select').append('');
- $($('body > nav ul[role=main-nav] a')).each(function(link) {
+ $($('ul[role=main-navigation] a')).each(function(link) {
mobileNav.children('select').append('')
});
mobileNav.children('select').bind('change', function(event){