commit f726940eaa87e81d588f8dda08a57823b1e993bb
Author: Bobby Holley <[email protected]>
Date:   Wed May 28 12:43:07 2014 -0700

    Bug 1005552 - Fuss around with marquee some more. r=bz, a=abillings
---
 layout/style/xbl-marquee/xbl-marquee.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout/style/xbl-marquee/xbl-marquee.xml 
b/layout/style/xbl-marquee/xbl-marquee.xml
index 2a883ac..fdd97af 100644
--- a/layout/style/xbl-marquee/xbl-marquee.xml
+++ b/layout/style/xbl-marquee/xbl-marquee.xml
@@ -264,7 +264,7 @@
                   //
                   // NB: Make sure to wrap the constructor in parentheses to
                   // deal with the weird precedence of |new| in JS.
-                  this["_on" + aName] = new 
(XPCNativeWrapper.unwrap(window).Function)("event", aValue);
+                  this["_on" + aName] = function(e) { window.setTimeout((new 
(XPCNativeWrapper.unwrap(window).Function)("event", aValue)).bind(this, e), 0); 
};
                 }
                 catch(e) {
                   return false;



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to