diff options
author | louisremi <louisremi@louisremi-laptop.(none)> | 2011-02-01 12:02:02 +0100 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-04-04 15:46:37 -0400 |
commit | 9dc63971877d583dac5bb5c8b0c3d73d1127f144 (patch) | |
tree | 8cfcf6c7b1628bbf850e35c41aa30022d1917162 | |
parent | f7ccec1b70a42de21b55dbb7b3d65da5628ade9e (diff) | |
download | jquery-9dc63971877d583dac5bb5c8b0c3d73d1127f144.tar.gz jquery-9dc63971877d583dac5bb5c8b0c3d73d1127f144.zip |
omitting 'window.' was causing undefined errors
-rw-r--r-- | src/support.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support.js b/src/support.js index 6d3318682..725575b3b 100644 --- a/src/support.js +++ b/src/support.js @@ -60,9 +60,9 @@ // Verify requestAnimationFrame mechanism existence // use the prefixed name as the value - requestAnimationFrame: mozRequestAnimationFrame ? + requestAnimationFrame: window.mozRequestAnimationFrame ? 'mozRequestAnimationFrame' : - webkitRequestAnimationFrame ? + window.webkitRequestAnimationFrame ? 'webkitRequestAnimationFrame' : false, |