From a473b4ebd93f5d79481e7c494fa98b69decb38f7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 4 Mar 2008 18:18:59 +0000 Subject: [PATCH] Use defer="defer" rather than onload to try and speed up page loading. --- app/views/site/edit.rhtml | 6 +++--- app/views/site/index.rhtml | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index ab6d70575..da2711c78 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -44,7 +44,7 @@ for editing OpenStreetMap. <%= javascript_include_tag 'swfobject.js' %> - <% end %> diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 604ecdb32..97eeda5a8 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -77,13 +77,13 @@ by the OpenStreetMap project and it's contributors. <%= javascript_include_tag 'map.js' %> - -- 2.39.5