When using the collapsable menu for small screen, if you have a menu item that has child items, you cannot use the child items. When you click the parent item, the entire menu collapses when the child menu should expand. I corrected the javascript error. Can you please also fix this in the official version, so I won't lose my fix when there's an update?
I attached the bootstrap_agency.js file (I had to rename it to txt to upload it)? As you can see in the file, I replaced
$('#navbar .navbar-collapse ul li a').click(function()
with
$('#navbar .navbar-collapse ul li:not(.dropdown) a').click(function()
so menu items with class dropdown don't trigger the collapse of the menu.
| Comment | File | Size | Author |
|---|---|---|---|
| bootstrap_agency.txt | 577 bytes | mark antony | |
| bootstrap agency.PNG | 6.62 KB | mark antony |
Comments
Comment #2
johan den hollander commentedThank you mark antony,
I used your fix and it works great!
Comment #3
johan den hollander commentedComment #5
jcnventuraThanks for the (almost) patch!