Disabling autoheight of Accordion in WP-UI plugin
-
Hi ! I am trying to disable autoheight feature of accordion when used in WP-UI plugin. This plugin use jquery so I tried to modify it jquery file (jquery-ui.min.js) and tried to set the value to false.But it didn’t work. anybody got any idea how to do it
actual Code
function(a,b){a.widget(“ui.accordion”,{options:{active:0,animated:”slide”,autoHeight:!1,clearStyle:!1,collapsible:!1,event:”click”,fillSpace:!1,header:”> li > :first-child,> :not(li):even”,icons:{header:”ui-icon-triangle-1-e”,headerSelected:”ui-icon-triangle-1-s”}Modified code
function(a,b){a.widget(“ui.accordion”,{options:{active:0,animated:”slide”,autoHeight:!0,clearStyle:!1,collapsible:!1,event:”click”,fillSpace:!0,header:”> li > :first-child,> :not(li):even”,icons:{header:”ui-icon-triangle-1-e”,headerSelected:”ui-icon-triangle-1-s”}
- The topic ‘Disabling autoheight of Accordion in WP-UI plugin’ is closed to new replies.