I keep getting this error:

ReferenceError: jQuery is not defined }(jQuery));

when using an addthis field displayed in a view.

Anyone has a clue what could be going on here?


AddThis includes it's javascript in the footer. It could be possible that, in your case, you have to add addThis in the header.

You can do this by changing this line of code in the addthis.php:

AddThis.php line 274 comment:

'scope' => 'footer’,

Hopes this help you out!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.