Index: trunk/extensions/Contest/resources/jquery.contestChallenges.js |
— | — | @@ -36,7 +36,6 @@ |
37 | 37 | .fadeOut( 'fast' ); |
38 | 38 | } ); |
39 | 39 | e.stopPropagation(); |
40 | | - return false; |
41 | 40 | } |
42 | 41 | } ) |
43 | 42 | .append( |
— | — | @@ -55,8 +54,9 @@ |
56 | 55 | ) |
57 | 56 | .append( |
58 | 57 | $( '<div class="mw-codechallenge-popup"><div>' ) |
59 | | - .click( function() { |
60 | | - return false; |
| 58 | + .click( function( e ) { |
| 59 | + e.stopPropogation(); |
| 60 | + e.preventDefault(); |
61 | 61 | } ) |
62 | 62 | .append( '<div class="mw-codechallenge-popup-callout"></div>' ) |
63 | 63 | .append( challenge.text ) |