Hi there
I'm trying to create a greasemonkey script to tweak the Jira UI. I want to use jQuery but when I do I get:{code}
Uncaught ReferenceError: $ is not defined
{/code}
So I change it to reference AJS and get:
{code}
Uncaught ReferenceError: AJS is not defined
{/code}
The script is pretty simple so far:
{code}
document.body.onload = function(){
AJS.$('.link-content').removeClass('collapsed-link');
AJS.$('#show-more-links').addClass('collapsed-link');
};
{/code}
Any ideas?
Thanks