Index: trunk/extensions/Contest/resources/contest.contestant.pager.js |
— | — | @@ -8,25 +8,8 @@ |
9 | 9 | |
10 | 10 | (function( $, mw ) { |
11 | 11 | |
12 | | -// $( document ).ready( function() { |
13 | | -// |
14 | | -// $( '.contestant-row' ).click( function( e ) { |
15 | | -// window.open( |
16 | | -// $( this ).attr( 'data-contestant-target' ), |
17 | | -// e.metaKey ? '_blank' : '_self' |
18 | | -// ); |
19 | | -// } ); |
20 | | -// |
21 | | -// } ); |
| 12 | + $( document ).ready( function() { |
22 | 13 | |
23 | | - $( '.contestant-row' ).click( function() { |
24 | | - debugger; |
25 | | - $this = $( this ); |
26 | | - $a = $this.children( 'td:first' ); |
27 | | - $a = $a.children( 'a' ); |
28 | | - $a.trigger( 'click' ); |
29 | | - } ); |
30 | | - |
31 | 14 | } ); |
32 | 15 | |
33 | 16 | })( window.jQuery, window.mediaWiki ); |