cubiq/iscroll — Issue #161: ._end() has some code trigger click event problems
Author: allex
Created: 2011-12-29 14:36:31+00:00
State: open

just found some elements which has binding click event has fired twice when clicked..

it's should be caused by these codes below:

ev = document.createEvent('MouseEvents');
ev.initMouseEvent('click', true, true, e.view, 1,
point.screenX, point.screenY, point.clientX, point.clientY,
e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,
0, null);
ev._fake = true;
target.dispatchEvent(ev);