From 9db18ddd84adf63166f411a4f2c776b51d1840e0 Mon Sep 17 00:00:00 2001 From: timmywil Date: Tue, 5 Apr 2011 16:28:25 -0400 Subject: [PATCH] Per rwaldron's request, added oRequestAnimationFrame as a possibility --- src/effects.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/effects.js b/src/effects.js index 9835e959..727c1a7a 100644 --- a/src/effects.js +++ b/src/effects.js @@ -12,7 +12,9 @@ var elemdisplay = {}, // opacity animations [ "opacity" ] ], - requestAnimationFrame = window.webkitRequestAnimationFrame || window.mozRequestionAnimationFrame; + requestAnimationFrame = window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame; jQuery.fn.extend({ show: function( speed, easing, callback ) {