Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Default options should not be compromised. Duh.

  • Loading branch information...
commit 08510690d27b8660c85830a69e4154ee6f808598 1 parent f4a5aa9
authored April 16, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  event.simulate.js
2  event.simulate.js
@@ -27,7 +27,7 @@
27 27
   }
28 28
   
29 29
   Event.simulate = function(element, eventName) {
30  
-    var options = Object.extend(defaultOptions, arguments[2] || { });
  30
+    var options = Object.extend(Object.clone(defaultOptions), arguments[2] || { });
31 31
     var oEvent, eventType = null;
32 32
     
33 33
     element = $(element);

0 notes on commit 0851069

Please sign in to comment.
Something went wrong with that request. Please try again.