mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-28 16:16:08 +03:00
based on @pearcetm 's fix
This commit is contained in:
parent
d3ef767487
commit
7497b83525
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user