diff --git a/packages/core/src/mxClient.js b/packages/core/src/mxClient.js index ddfe38551..db552bc07 100644 --- a/packages/core/src/mxClient.js +++ b/packages/core/src/mxClient.js @@ -366,7 +366,7 @@ const mxClient = { document.createElementNS( 'http://www.w3.org/2000/svg', 'foreignObject' - ) !== '[object SVGForeignObjectElement]' || + ).toString() !== '[object SVGForeignObjectElement]' || navigator.userAgent.indexOf('Opera/') >= 0), /**