r101864 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101863‎ | r101864 | r101865 >
Date:19:55, 3 November 2011
Author:jeroendedauw
Status:ok (Comments)
Tags:
Comment:
kill obsolete code
Modified paths:
  • /trunk/extensions/Contest/resources/contest.contestant.pager.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/resources/contest.contestant.pager.js
@@ -8,25 +8,8 @@
99
1010 (function( $, mw ) {
1111
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() {
2213
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 -
3114 } );
3215
3316 })( window.jQuery, window.mediaWiki );

Follow-up revisions

RevisionCommit summaryAuthorDate
r102149follow up to r101864jeroendedauw04:10, 6 November 2011

Comments

#Comment by Nikerabbit (talk | contribs)   11:15, 4 November 2011

Did you plan to add new code later and that's why you didn't delete the whole file?

Status & tagging log