based on @pearcetm 's fix

This commit is contained in:
Joe DF 2022-09-10 21:31:15 -04:00
parent d3ef767487
commit 7497b83525

View File

@ -1102,7 +1102,7 @@ function OpenSeadragon( options ){
// Extend the base object // Extend the base object
for ( name in options ) { for ( name in options ) {
src = target[ name ]; src = target[ name ];
copy = options[ name ]; copy = Object.getOwnPropertyDescriptor(options, name).value;
// Prevent never-ending loop // Prevent never-ending loop
if ( target === copy ) { if ( target === copy ) {