X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fevent.js;h=5ae4badc7678d0451f40f12117a23e2459d12813;hb=9db710a15665f0fa32e3e3b20a65c3ad94966f8e;hp=e46e1086c8dde2942c6114c0b39067a9154c91f7;hpb=c2fad371f1eb9e3204f5901d1dca056bbe4f389f;p=jquery.git diff --git a/src/event.js b/src/event.js index e46e108..5ae4bad 100644 --- a/src/event.js +++ b/src/event.js @@ -377,13 +377,13 @@ jQuery.Event = function( src ){ if( src && src.type ){ this.originalEvent = src; this.type = src.type; - this.timeStamp = src.timeStamp; // Event type }else this.type = src; - if( !this.timeStamp ) - this.timeStamp = now(); + // timeStamp is buggy for some events on Firefox(#3843) + // So we won't rely on the native value + this.timeStamp = now(); // Mark it as fixed this[expando] = true;