UI.Tabs: navclass attached to wrong element?
Hi,
Noticed something when using latest version(http://
jqueryjs.googlecode.com/svn/trunk/ui/ui.tabs.js) the css hook for the
nav style is being applied to the main tabs div rather than the ul.
line 143: $(this.element).hasClass(o.navClass) || $
(this.element).addClass(o.navClass);
This caused all the nav anchor element styling to be applied to all
content in the panels. I changed it to this to fix:
$("ul:first-child",this.element).hasClass(o.navClass) || $("ul:first-
child",this.element).addClass(o.navClass);
Hope this helps! (sorry attempting to make any changes myself is
slightly beyond me atm!) ;)
Will