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($("#Longer_examplesa").length){
if($("#Longer_examples").length){
   $("#Longer_examples").onclick=Longer_examples.onclick=function(){alert('hi')};
   $("#Longer_examples").onclick=Longer_examples.onclick=function(){alert('hi')};
}
}

Navigation menu