From 9ef928588b32b055cf7f846b47ce0da36ef8af3c Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 25 Sep 2011 09:14:50 -0500 Subject: mobile nav javascript updated to still work with role='main-navigation' since changes affecting custom partials don't get updated with the standard update script --- .themes/classic/source/javascripts/octopress.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index a23ab502..d6cf4d91 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -1,6 +1,7 @@ function getNav() { var mobileNav = $('nav[role=navigation] fieldset[role=search]').after('
').next().append(''); mobileNav.children('select').append(''); + $('ul[role=main-navigation]').addClass('main-navigation'); $('ul.main-navigation a').each(function(link) { mobileNav.children('select').append(''); }); -- cgit v1.2.1