diff --git a/plugins/Sidebar/media/Sidebar.coffee b/plugins/Sidebar/media/Sidebar.coffee index 45b4c3cf..1cf6e68a 100644 --- a/plugins/Sidebar/media/Sidebar.coffee +++ b/plugins/Sidebar/media/Sidebar.coffee @@ -107,11 +107,15 @@ class Sidebar extends Class @setSiteInfo(site_info) @original_set_site_info.apply(wrapper, arguments) - setSiteInfo: (site_info) -> - RateLimit 1000, => - @updateHtmlTag() - @displayGlobe() + # Preload world.jpg + img = new Image(); + img.src = "/uimedia/globe/world.jpg"; + setSiteInfo: (site_info) -> + RateLimit 3000, => + @updateHtmlTag() + RateLimit 30000, => + @displayGlobe() # Create the sidebar html tag createHtmltag: -> @@ -133,6 +137,7 @@ class Sidebar extends Class @log "Creating content" morphdom(@tag.find(".content")[0], '