Previously I was using jQuery 1.7.1 in my code. I was getting the above error. Then I used the jQuery 1.11.1 straight from the google repository
Try:
event.originalEvent.defaultPrevented
As in:
$(document).on('click', function (e) { if (e.originalEvent.defaultPrevented) return; // continue });