mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-18 08:31:00 +00:00
Merge 568d6a1c6b
into 673f881d52
This commit is contained in:
commit
738e65c469
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue