css - jQuery UI Accordion Header: ui-helper-reset is not being added -
i have updated project's jquery 1.9.2 1.11.2 , seems working fine except accordion large cannot see content. prior code:
$('.accordion').accordion({ autoheight: false, fillspace: true, collapsible: true, navigation: true });
as autoheight, fillspace , navigation deprecated have updated to...
$('.accordion').accordion({ heightstyle: "fill", collapsible: true });
now have massive margins below each closed accordion tab , text huge. quick search of resulting code shows thing missing ui-helper-reset class on h3-element (i.e. .accordion has it, content divs have it, h3-elements not).
if add class hand headers did before. ideas on how class added?
update
this internal issue. there old custom jqueryui css file (1.8.23) messing up. looked @ jquery ui accordions css generated , ui-helper-reset no longer being added header. works, if not have old custom css file in way.
how .addclass()?
$('.accordion').accordion({ heightstyle: "fill", collapsible: true }).find("h3").addclass("ui-helper-reset");
Comments
Post a Comment