Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Infinite load on Firefox: transferring data from maps.googleapis.com

When I load the site I'm working on, all is fine on all browsers except Firefox, which hangs on Transferring data from maps.googleapis.com...

The Google Map is rendered perfectly, but FF doesn't stop loading.

This is a big problem for me, because I have jQuery(window).load functions going.

Has anyone a clue how to solve this?

like image 416
smsgrafica Avatar asked Jan 09 '13 10:01

smsgrafica


1 Answers

Instead of using jQuery:

$(document).ready(function(){
    initialize();
});

Do this:

<body onload="initialize();">

As Google Instructions tell you to do! This solved it for me.

like image 198
Dmytro Avatar answered Oct 21 '22 04:10

Dmytro