diff --git a/src/js/_enqueues/wp/editor/dfw.js b/src/js/_enqueues/wp/editor/dfw.js index 04b001e1c8059..37af4e6b850c7 100644 --- a/src/js/_enqueues/wp/editor/dfw.js +++ b/src/js/_enqueues/wp/editor/dfw.js @@ -542,7 +542,7 @@ width: contentWrapWidth - ( borderWidth * 2 ) - ( visual ? 0 : ( $top.outerWidth() - $top.width() ) ) } ); - $statusBar.attr( 'style', advanced ? '' : 'visibility: hidden;' ); + $statusBar.attr( 'style', advanced ? '' : 'display: none;' ); $bottom.attr( 'style', '' ); } } else { @@ -633,7 +633,7 @@ $statusBar.css( { position: 'fixed', bottom: heights.bottomHeight, - visibility: '', + display: '', width: contentWrapWidth - ( borderWidth * 2 ) } ); @@ -648,7 +648,7 @@ ( windowPos + heights.windowHeight ) > ( editorPos + editorHeight + heights.bottomHeight + heights.statusBarHeight - borderWidth ) ) ) { fixedBottom = false; - $statusBar.attr( 'style', advanced ? '' : 'visibility: hidden;' ); + $statusBar.attr( 'style', advanced ? '' : 'display: none;' ); $bottom.attr( 'style', '' ); } }