Skip to content

Commit

Permalink
Reverts mozRequestAnimationFrame to compatibility.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik committed May 29, 2014
1 parent ff0672e commit 3408921
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/compatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 3408921

Please sign in to comment.