120
edits
Miraheze>Adám Brudzewsky (test js inject) |
m (4 revisions imported: Migrate from miraheze) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
if($("# | console.log("load test js?"); | ||
if($("#Longer_examples").length){ | |||
console.log("yes: test js loaded"); | |||
Longer_examples.onclick=function(){alert('hi')}; | |||
} else { | |||
console.log("no: skipped test js"); | |||
} | } |