Index: trunk/extensions/Contest/resources/jquery.contestChallenges.js |
— | — | @@ -24,6 +24,7 @@ |
25 | 25 | var box = $(this); |
26 | 26 | if ( !box.hasClass( 'mw-codechallenge-box-selected' ) ) { |
27 | 27 | $( '.mw-codechallenge-popup' ).not( box ).fadeOut( 'fast' ); |
| 28 | + $( '.mw-codechallenge-box-selected' ).removeClass( 'mw-codechallenge-box-selected' ); |
28 | 29 | box |
29 | 30 | .addClass( 'mw-codechallenge-box-selected' ) |
30 | 31 | .find( '.mw-codechallenge-popup' ) |