Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -562,11 +562,11 @@ |
563 | 563 | }, |
564 | 564 | build : function( context, config ) { |
565 | 565 | var $tabs = $( '<div />' ).addClass( 'tabs' ).appendTo( context.modules.$toolbar ); |
| 566 | + /* |
566 | 567 | if( wgNavigableTOCCollapseEnable ) { |
567 | 568 | // FIXME: This code is duplicated from the TOC plugin and doesn't belong here; |
568 | 569 | // the TOC drag thingy should be in the TOC plugin instead |
569 | 570 | // placeholder for drag control creation code |
570 | | - /* |
571 | 571 | $dragControl = $( '<div />' ).addClass( 'tab' ).attr( 'id', 'wikiEditor-ui-toc-resize-grip' ) |
572 | 572 | .append( '<a href="#" title="Drag to resize"></a>' ) |
573 | 573 | .mousedown( function() { |
— | — | @@ -587,8 +587,8 @@ |
588 | 588 | return false; |
589 | 589 | }) |
590 | 590 | context.modules.$toolbar.append( $dragControl ); |
591 | | - */ |
592 | 591 | } |
| 592 | + */ |
593 | 593 | var $sections = $( '<div />' ).addClass( 'sections' ).appendTo( context.modules.$toolbar ); |
594 | 594 | context.modules.$toolbar.append( $( '<div />' ).css( 'clear', 'both' ) ); |
595 | 595 | var sectionQueue = []; |