target variable is already defined

This commit is contained in:
Lukasz Lipinski 2012-04-27 14:09:00 +03:00
parent 7ceb7e974f
commit b16780764c

View File

@ -243,7 +243,6 @@ $.extend( $.simulate.prototype, {
y = Math.floor( center.y ),
dx = options.dx || 0,
dy = options.dy || 0,
target = this.target,
coord = { clientX: x, clientY: y };
this.simulateEvent( target, "mousedown", coord );
coord = { clientX: x + 1, clientY: y + 1 };