Closed (fixed)
Project:
Menu Icons
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2011 at 22:04 UTC
Updated:
6 Jan 2012 at 21:34 UTC
Jump to comment: Most recent file
Comments
Comment #1
oe.elvik commentedWasn't able to reproduce the bug for the Bartik theme, but had the same problem in one of my custom theme. My bet is that this patch solves your problem as well. Now only
<a>will get the icon added. I think this is the best overall solution.Comment #2
EllECTRONC commentedYou twice applying styles to
<a>, as I see<a>always haveclass="menu-id"and<li>not.So I think this will enough:
Comment #3
oe.elvik commentedI guess the original idea was to include both selectors to support themes where the a dos not get the class but only the li item. I kept both selectors in my patch in order to jot introduce new bugs...
Comment #4
acrollet commentedThe patch in #1 worked for me, and I prefer to minimize the chance of introducing a regression. Committed in http://drupalcode.org/project/menu_icons.git/commit/7a83a93
Comment #5
acrollet commented