mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-28 08:06:08 +03:00
commit
8d2f8449ba
@ -59,7 +59,9 @@
|
|||||||
if( this.element ){
|
if( this.element ){
|
||||||
this.element = $.getElement( this.element );
|
this.element = $.getElement( this.element );
|
||||||
this.element.appendChild( this.container );
|
this.element.appendChild( this.container );
|
||||||
|
if( $.getElementStyle(this.element).position === 'static' ){
|
||||||
this.element.style.position = 'relative';
|
this.element.style.position = 'relative';
|
||||||
|
}
|
||||||
this.container.style.width = '100%';
|
this.container.style.width = '100%';
|
||||||
this.container.style.height = '100%';
|
this.container.style.height = '100%';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user