mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-26 11:43:14 +03:00
Merge c628f46591b4063f11771c80cea5acf768496f1d into 640526b444536dccb2c78eec7a0b4b7eeb1eb43c
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…
x
Reference in New Issue
Block a user