Widget:Granularity: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$('#go').click(function(){ | |||
. | |||
if(wgAction === "view"){ | if(wgAction === "view"){ | ||
console.log(wgCategories[0]); | console.log(wgCategories[0]); | ||
Line 16: | Line 15: | ||
}); | }); | ||
</script> | </script> | ||
<input type="button" value="Push!" id="go" /> | |||
</includeonly> | </includeonly> |