Index: trunk/extensions/ClickTracking/modules/ext.UserBuckets.js |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | |
21 | 21 | $.setupActiveBuckets = function(){ |
22 | 22 | var buckets = $.getBuckets(); |
23 | | - for ( iter in mw.activeCampaigns ) { |
| 23 | + for ( var iter in mw.activeCampaigns ) { |
24 | 24 | var campaign = mw.activeCampaigns[iter]; |
25 | 25 | // if bucket has been set, or bucket version is out of date, |
26 | 26 | // set up a user bucket |
Index: trunk/extensions/Vector/modules/ext.vector.collapsibleTabs.js |
— | — | @@ -86,15 +86,20 @@ |
87 | 87 | |
88 | 88 | // Bind callback functions to animate our drop down menu in and out |
89 | 89 | // and then call the collapsibleTabs function on the menu |
90 | | - $( '#p-views ul' ).bind( "beforeTabCollapse", function() { |
91 | | - if( $( '#p-cactions' ).css( 'display' ) == 'none' ) |
92 | | - $( "#p-cactions" ).addClass( "filledPortlet" ).removeClass( "emptyPortlet" ) |
93 | | - .find( 'h5' ).css( 'width','1px' ).animate( { 'width':'26px' }, 390 ); |
94 | | - } ).bind( "beforeTabExpand", function() { |
95 | | - if( $( '#p-cactions li' ).length == 1 ) |
96 | | - $( "#p-cactions h5" ).animate( { 'width':'1px' }, 370, function() { |
97 | | - $( this ).attr( 'style', '' ).parent().addClass( "emptyPortlet" ).removeClass( "filledPortlet" ); |
98 | | - }); |
| 90 | + $( '#p-views ul' ).bind( 'beforeTabCollapse', function() { |
| 91 | + if ( $( '#p-cactions' ).css( 'display' ) == 'none' ) { |
| 92 | + $( '#p-cactions' ) |
| 93 | + .addClass( 'filledPortlet' ).removeClass( 'emptyPortlet' ) |
| 94 | + .find( 'h5' ) |
| 95 | + .css( 'width','1px' ).animate( { 'width':'26px' }, 390 ); |
| 96 | + } |
| 97 | + } ).bind( 'beforeTabExpand', function() { |
| 98 | + if ( $( '#p-cactions li' ).length == 1 ) { |
| 99 | + $( '#p-cactions h5' ).animate( { 'width':'1px' }, 370, function() { |
| 100 | + $( this ).attr( 'style', '' ) |
| 101 | + .parent().addClass( 'emptyPortlet' ).removeClass( 'filledPortlet' ); |
| 102 | + }); |
| 103 | + } |
99 | 104 | } ).collapsibleTabs( { |
100 | 105 | expandCondition: function( eleWidth ) { |
101 | 106 | if( rtl ){ |