Jump to content

MediaWiki:Common.js: Difference between revisions

Jehan (talk | contribs)
No edit summary
Jehan (talk | contribs)
No edit summary
Line 88: Line 88:
ButtonLink.setAttribute( 'href', '#' );
ButtonLink.setAttribute( 'href', '#' );
$( ButtonLink ).on( 'click', $.proxy( handleButtonLink, ButtonLink, tableIndex ) );
$( ButtonLink ).on( 'click', $.proxy( handleButtonLink, ButtonLink, tableIndex ) );
$( linkImage ).on( 'click', $.proxy( handlelinkImage, linkImage , tableIndex ) );
if ( 0 ) $( linkImage ).on( 'click', $.proxy( handlelinkImage, linkImage , tableIndex ) );
ButtonLink.appendChild( ButtonText );
ButtonLink.appendChild( ButtonText );