X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c0d2ad40c30e5a0837b6012d7b9067d69ce41dd0..a03c584a98f3e27eb9877121c2011393a250c9f7:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 97eeda5a8..edd755ddb 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -177,9 +177,10 @@ by the OpenStreetMap project and it's contributors. resizeMap(); } - - window.onresize = handleResize; mapInit(); + + window.onload = handleResize; + window.onresize = handleResize; // -->