Fixed mistake

This commit is contained in:
Kevin Ewing 2013-06-20 13:31:04 -07:00
parent 2ba3acda38
commit 8896c2278d

View File

@ -1386,7 +1386,7 @@ window.OpenSeadragon = window.OpenSeadragon || function( options ){
head = document.head || head = document.head ||
document.getElementsByTagName( "head" )[ 0 ] || document.getElementsByTagName( "head" )[ 0 ] ||
document.documentElement, document.documentElement,
jsonpCallback = options.callbackName || 'openseadragon' + ($.now), jsonpCallback = options.callbackName || 'openseadragon' + $.now(),
previous = window[ jsonpCallback ], previous = window[ jsonpCallback ],
replace = "$1" + jsonpCallback + "$2", replace = "$1" + jsonpCallback + "$2",
callbackParam = options.param || 'callback', callbackParam = options.param || 'callback',