X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a473b4ebd93f5d79481e7c494fa98b69decb38f7..e5ff2959bc756a97d10b130d1ad6d0376eb57d83:/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; // -->