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…
Reference in New Issue