diff --git a/rebound.js b/rebound.js index 49aace7..846fac2 100644 --- a/rebound.js +++ b/rebound.js @@ -1116,7 +1116,10 @@ window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || - window.oRequestAnimationFrame; + window.oRequestAnimationFrame || + function(callback) { + window.setTimeout(callback, 1000 / 60); + }; } if (!_onFrame && typeof process !== 'undefined' && process.title === 'node') { _onFrame = setImmediate;