Skip to content
Permalink
Browse files

Fixed #4331 - Accordion requires theme CSS to function in IE

  • Loading branch information...
rdworth committed Mar 18, 2009
1 parent 8120dfa commit 7b55667bf3e571a72533ea690ee5011819c79c40
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.accordion.js
@@ -423,7 +423,7 @@ $.extend($.ui.accordion, {
// fix width before calculating height of hidden element
var s = options.toShow;
originalWidth = s[0].style.width;
s.width( parseInt(s.parent().width(),10) - parseInt(s.css("paddingLeft"),10) - parseInt(s.css("paddingRight"),10) - parseInt(s.css("borderLeftWidth"),10) - parseInt(s.css("borderRightWidth"),10) );
s.width( parseInt(s.parent().width(),10) - parseInt(s.css("paddingLeft"),10) - parseInt(s.css("paddingRight"),10) - (parseInt(s.css("borderLeftWidth"),10) || 0) - (parseInt(s.css("borderRightWidth"),10) || 0) );

$.each(fxAttrs, function(i, prop) {
hideProps[prop] = 'hide';

0 comments on commit 7b55667

Please sign in to comment.
You can’t perform that action at this time.