assaf/zombie — Issue #217: jquery event handler/listener completely ignored
Author: ezmilhouse
Created: 2011-12-05 18:29:17+00:00
State: open

I like the idea behind zombie, but it totally ignores jquery's event handling.

Example

Test Javascript

$(document).on('click', '.some-class', null, function(evt){
evt.preventDefault();
window.location.href = '/other/side';
});

Use zombie's fire or clickLink - both will end up landing on /noscript/side - don't know why, maybe it's the preventDefault() that is the problem, but as long as event delegation is not supported, zombie seems to be pretty much useless ... did I miss something?