http://www.gamingunion.net/
http://www.gamingunion.net/forums/
When you click on the game background it’ll open a Amazon.com link. For some reason on the forums it’s failing and giving the error $(event.target).closest is not a function.
http://www.bungieunion.com/gamingunion/js/forum.js
The second function is the one in question. The jQuery version is the same on both pages, so I can’t figure out what the issue could possibly be.
Looks like the target is an HTML DOM object, not a jquery object. I would test to see if the event.target is an instanceof jQuery like so:
This will ensure that the target object is a jQuery object before calling .closest()
Edit: changed $ to jQuery in case of using noConflict
Edit #2: I changed your entire second method to this: