mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-24 15:59:08 +00:00
parent
1cb3a8eedc
commit
e16d2f5d02
@ -365,7 +365,7 @@ Viewer.prototype.attachTo = function(parentNode) {
|
||||
this.detach();
|
||||
|
||||
// unwrap jQuery if provided
|
||||
if (parentNode.get) {
|
||||
if (parentNode.get && parentNode.constructor.prototype.jquery) {
|
||||
parentNode = parentNode.get(0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user