syntax fixed and if statement amended

This commit is contained in:
ViratSr 2023-08-17 10:39:45 +05:30
parent 9b051f55de
commit ed49d46237
2 changed files with 2 additions and 3 deletions

View File

@ -59,8 +59,7 @@
if( this.element ){
this.element = $.getElement( this.element );
this.element.appendChild( this.container );
// this.element.style.position = 'relative';
if(this.element.style.position === 'static'){
if( $.getElementStyle(this.element).position === 'static' ){
this.element.style.position = 'relative';
}
this.container.style.width = '100%';