File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -284,13 +284,11 @@ var GEOComp = (function () {
284
284
const offset = ( parseFloat ( pads [ pads . length == 4 ? 3 : 0 ] . replace ( "px" , "" ) ) ) + ( parseFloat ( marg [ marg . length == 4 ? 3 : 0 ] . replace ( "px" , "" ) ) )
285
285
//TODO: Take care of margin and padding, but also that of parents
286
286
var newHeight = eventObj . windowSize . height - eventObj . bounds . top - offset * 2 - ( props . resizeOffset || 0 )
287
- if ( newHeight != dimensions . height ) {
288
- eventObj . newHeight = newHeight
289
- //eventObj.element.style.height = `${newHeight}px`
290
- setDimensions ( { width : dimensions . width , height : newHeight } )
291
- if ( featureEnabled ( "debug" ) )
292
- console . debug ( "Resized done" , newHeight )
293
- }
287
+ eventObj . newHeight = newHeight
288
+ //eventObj.element.style.height = `${newHeight}px`
289
+ setDimensions ( { width : dimensions . width , height : newHeight } )
290
+ if ( featureEnabled ( "debug" ) )
291
+ console . debug ( "Resized done" , newHeight )
294
292
}
295
293
break
296
294
default :
You can’t perform that action at this time.
0 commit comments