Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #82 from lunaryorn/fix-top-menu
Browse files Browse the repository at this point in the history
Do not rely on dropdowns to create the menu
  • Loading branch information
renard committed Sep 4, 2013
2 parents 730540a + 0ad9915 commit 0568070
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/style/js/o-blog-fix.js
Expand Up @@ -4,10 +4,11 @@

$(document).ready(
function() {

/* create the top menu bar */
$('.navbar-inner .nav-collapse > ul').addClass("nav");

/* find the dropdown menu */
var dropdown = $('.navbar-inner .nav-collapse > ul li ul').parent();
dropdown.parent().addClass("nav");

/* find sub menu items */
dropdown.addClass("dropdown");
Expand Down

0 comments on commit 0568070

Please sign in to comment.