From 124cd67ac83cac270f35a078c31e0c03fb328c5d Mon Sep 17 00:00:00 2001 From: John McKerrell Date: Mon, 28 May 2007 14:52:06 +0000 Subject: [PATCH] Hiding the element and then, shortly after, redisplaying it makes IE6 re-render things correctly. --- app/views/site/index.rhtml | 4 ++++ 1 file changed, 4 insertions(+) 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 ) { -- 2.43.2