MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 78: | Line 78: | ||
Tables[i].setAttribute( 'id', 'hideableTable' + tableIndex ); | Tables[i].setAttribute( 'id', 'hideableTable' + tableIndex ); | ||
if ( | if ( 0 ) { | ||
linkImage.setAttribute( 'href', '#' ); | linkImage.setAttribute( 'href', '#' ); | ||
$( linkImage ).on( 'click', $.proxy( handlelinkImage, linkImage , tableIndex ) ); | $( linkImage ).on( 'click', $.proxy( handlelinkImage, linkImage , tableIndex ) ); | ||
} | } | ||
if ( | if ( 1 ) { | ||
var Button = document.createElement( 'span' ); | var Button = document.createElement( 'span' ); | ||
var ButtonLink = document.createElement( 'a' ); | var ButtonLink = document.createElement( 'a' ); | ||