MediaWiki:Example.js: Difference between revisions
Jump to navigation
Jump to search
activate
Miraheze>Adám Brudzewsky (test js inject) |
Miraheze>Adám Brudzewsky (activate) |
||
Line 1: | Line 1: | ||
if($("# | if($("#Longer_examples").length){ | ||
$("#Longer_examples").onclick=Longer_examples.onclick=function(){alert('hi')}; | $("#Longer_examples").onclick=Longer_examples.onclick=function(){alert('hi')}; | ||
} | } |