]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Remove unused stylesheet rules
[rails.git] / app / assets / javascripts / map.js.erb
index c06c9c8eaf809cf0aecc9733da766b0458aeff2a..4c1a849dc25d5f4a4572ac74e649515a378eb0e1 100644 (file)
@@ -81,6 +81,8 @@ function createMap(divName, options) {
      map.updateSize();
    });
 
+   $("#" + divName).trigger("initialised");
+
    return map;
 }