Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -479,7 +479,7 @@ |
480 | 480 | if ( show ) { |
481 | 481 | $section.fadeIn( 'fast' ); |
482 | 482 | dH = $section.outerHeight() - dH; |
483 | | - context.modules.$toc.animate({'height': "+="+dH}, $section.outerHeight() * 2); |
| 483 | + context.modules.$toolbar.animate({'height': "+="+dH}, $section.outerHeight() * 2); |
484 | 484 | $sections.animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() { |
485 | 485 | $(this).css('overflow', 'visible').css('height', 'auto'); |
486 | 486 | } ); |
— | — | @@ -489,7 +489,7 @@ |
490 | 490 | .animate( { 'height': 0 }, $section.outerHeight() * 2, function() { |
491 | 491 | $(this).css('overflow', 'visible'); |
492 | 492 | } ); |
493 | | - context.modules.$toc.animate({'height': "-="+$section.outerHeight()}, $section.outerHeight() * 2); |
| 493 | + context.modules.$toolbar.animate({'height': "-="+$section.outerHeight()}, $section.outerHeight() * 2); |
494 | 494 | } |
495 | 495 | // Click tracking |
496 | 496 | if($.trackAction != undefined){ |
— | — | @@ -590,7 +590,7 @@ |
591 | 591 | var $section = s.$sections.find( '.section:visible' ); |
592 | 592 | if ( $section.size() ) { |
593 | 593 | $sections.animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function( ) { |
594 | | - context.modules.$toc.height( |
| 594 | + context.modules.$toolbar.height( |
595 | 595 | context.$ui.find( '.wikiEditor-ui-left' ) |
596 | 596 | .outerHeight() - context.$ui.find( '.tab-toc' ).outerHeight() |
597 | 597 | ); |