diff --git a/wagtailgeowidget/widgets.py b/wagtailgeowidget/widgets.py
index <HASH>..<HASH> 100644
--- a/wagtailgeowidget/widgets.py
+++ b/wagtailgeowidget/widgets.py
@@ -74,13 +74,12 @@ class GeoField(HiddenInput):
             """
             <script>
             (function(){
-                if (window.geoLoaded) {
+                if (document.readyState === 'complete') {
                     return initializeGeoFields();
                 }
 
                 $(window).load(function() {
                     initializeGeoFields();
-                    window.geoLoaded = true;
                 });
             })();
             </script>
Changed to readyState to solve init not triggering