From: John McKerrell Date: Mon, 28 May 2007 14:52:06 +0000 (+0000) Subject: Hiding the element and then, shortly after, redisplaying it makes IE6 re-render X-Git-Tag: live~8461 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/124cd67ac83cac270f35a078c31e0c03fb328c5d?ds=sidebyside Hiding the element and then, shortly after, redisplaying it makes IE6 re-render things correctly. --- diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index d6a0fe8a3..d540836d7 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -166,6 +166,10 @@ el.style.height = new_height + 'px'; } map.updateSize(); + el.style.display = 'none'; + setTimeout( function() { + el.style.display = ''; + }, 200 ); } if( ie6 ) {