Index: trunk/extensions/UsabilityInitiative/CollapsibleTabs/CollapsibleTabs.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | |
20 | 20 | /* Configuration */ |
21 | 21 | // Bump the version number every time you change any of the .css/.js files |
22 | | -$wgCollapsibleTabsStyleVersion = 7; |
| 22 | +$wgCollapsibleTabsStyleVersion = 8; |
23 | 23 | |
24 | 24 | /* Setup */ |
25 | 25 | |
Index: trunk/extensions/UsabilityInitiative/CollapsibleTabs/CollapsibleTabs.js |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | // add the placeholder |
17 | 17 | $j('<span class="placeholder" style="display:none;"></span>').insertAfter(this); |
18 | 18 | $j(this).remove().prependTo(target).data('collapsibleTabsSettings', data); |
19 | | - $j(this).attr('style', ''); |
| 19 | + $j(this).attr('style', 'display:list-item;'); |
20 | 20 | $j($j(ele).data('collapsibleTabsSettings').expandedContainer).data('collapsibleTabsSettings').shifting = false; |
21 | 21 | $j.collapsibleTabs.handleResize(); |
22 | 22 | }); |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $moving.css("position", "relative").css( ( rtl ? 'right' : 'left'), 0 ).css('width','1px'); |
34 | 34 | $target.replaceWith($moving.remove().css('width','1px').data('collapsibleTabsSettings', data) |
35 | 35 | .animate({width: expandedWidth+"px"}, "normal", function(){ |
36 | | - $j(this).attr('style', ''); |
| 36 | + $j(this).attr('style', 'display:block;'); |
37 | 37 | $j($moving.data('collapsibleTabsSettings').expandedContainer).data('collapsibleTabsSettings').shifting = false; |
38 | 38 | $j.collapsibleTabs.handleResize(); |
39 | 39 | })); |