mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-28 08:06:08 +03:00
Merge c628f46591
into 640526b444
This commit is contained in:
commit
55fab39d50
@ -245,6 +245,11 @@ $.Viewer = function( options ) {
|
||||
}
|
||||
|
||||
this.element = this.element || document.getElementById( this.id );
|
||||
|
||||
if (!this.element) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.canvas = $.makeNeutralElement( "div" );
|
||||
|
||||
this.canvas.className = "openseadragon-canvas";
|
||||
|
Loading…
Reference in New Issue
Block a user