Merge pull request #641 from lukaszlipinski/master

simulate: Removed duplicated variable declaration
This commit is contained in:
Richard D. Worth 2012-04-27 05:35:43 -07:00
commit f032fa6b2f

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 };