From aec24d6dd78bd7ffd4ce293c0cc4b89933080df8 Mon Sep 17 00:00:00 2001 From: Joe DF <3848219+joedf@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:07:35 -0400 Subject: [PATCH] add continue, update warning msg --- src/openseadragon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openseadragon.js b/src/openseadragon.js index 04184d4e..45b36da7 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -1111,7 +1111,8 @@ function OpenSeadragon( options ){ copy = descriptor.value; } else { - $.console.warn('Undefined descriptior obtained for the "' + name + '" property in extended object.'); + $.console.warn('Could not copy inherited property "' + name + '".'); + continue; } // Prevent never-ending loop