Reverts mozRequestAnimationFrame to compatibility.js

This commit is contained in:
Yury Delendik 2014-05-29 16:23:13 -05:00
parent ff0672e0fa
commit 34089212e0

View File

@ -496,7 +496,9 @@ if (typeof PDFJS === 'undefined') {
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame = window.webkitRequestAnimationFrame ||
window.requestAnimationFrame =
window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame ||
(function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
});