This commit is contained in:
Chris Adams 2013-05-23 07:18:53 -07:00
commit 738e65c469

View file

@ -1662,7 +1662,7 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
// polyfill, when necessary
if ( w.requestAnimationFrame ) {
if ( w.requestAnimationFrame && w.cancelAnimationFrame ) {
//we cant assign window.requestAnimationFrame directly to $.requestAnimationFrame
//without getting Illegal Invocation errors in webkit so call in a
//wrapper