diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:30:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:30:02 -0400 |
commit | 1de335ad3f395ca6861085393ba366a9e3fb4a0d (patch) | |
tree | f1fdd326034e05177596851be6a7127615d81498 /skins/Vector/vector.js | |
parent | 9c75fa8ff6d4d38ef552c00fef5969fb154765e8 (diff) | |
parent | f6d65e533c62f6deb21342d4901ece24497b433e (diff) |
Merge commit 'f6d65'
# Conflicts:
# skins/ArchLinux/ArchLinux.php
Diffstat (limited to 'skins/Vector/vector.js')
-rw-r--r-- | skins/Vector/vector.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/skins/Vector/vector.js b/skins/Vector/vector.js index 7be35355..8f839186 100644 --- a/skins/Vector/vector.js +++ b/skins/Vector/vector.js @@ -34,11 +34,6 @@ jQuery( function ( $ ) { } ); /** - * Sidebar - */ - $( '#mw-panel > .portal:first' ).addClass( 'first' ); - - /** * Collapsible tabs */ var $cactions = $( '#p-cactions' ), @@ -54,16 +49,16 @@ jQuery( function ( $ ) { $cactions .removeClass( 'emptyPortlet' ) .find( 'h3' ) - .css( 'width', '1px' ).animate( { 'width': originalDropdownWidth }, 'normal' ); + .css( 'width', '1px' ).animate( { width: originalDropdownWidth }, 'normal' ); } } ) .bind( 'beforeTabExpand', function () { // If we're removing the last child node right now, hide the dropdown if ( $cactions.find( 'li' ).length === 1 ) { - $cactions.find( 'h3' ).animate( { 'width': '1px' }, 'normal', function () { + $cactions.find( 'h3' ).animate( { width: '1px' }, 'normal', function () { $( this ).attr( 'style', '' ) .parent().addClass( 'emptyPortlet' ); - }); + } ); } } ) .collapsibleTabs( { |