MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 176: | Line 176: | ||
ButtonLink.setAttribute( 'href', '#' ); | ButtonLink.setAttribute( 'href', '#' ); | ||
$( ButtonLink ).on( 'click', $.proxy( handleButtonLink, ButtonLink, tableIndex ) ); | $( ButtonLink ).on( 'click', $.proxy( handleButtonLink, ButtonLink, tableIndex ) ); | ||
ButtonLink.appendChild( ButtonText ); | $( linkImage ).on( 'click', $.proxy( handleButtonLink, ButtonLink, tableIndex ) ); | ||
ButtonLink.appendChild( ButtonText ); | |||
Button.appendChild( document.createTextNode( '[' ) ); | Button.appendChild( document.createTextNode( '[' ) ); | ||