mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 22:03:31 +03:00
Merge c628f46591
into 8f093f54df
This commit is contained in:
commit
cbda3e14fc
1 changed files with 5 additions and 0 deletions
|
@ -261,6 +261,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…
Add table
Reference in a new issue