Commit d5fe062e authored by midgard's avatar midgard

Fix race condition

parent d3cb7bfc
$(document).ready(function() {
Handlebars.registerHelper("date", function (ddmyyyy) {
return ddmyyyy.replace(/-/g, "/");
});
L.Icon.Default.imagePath = "img/";
var popuptemplate = Handlebars.compile($("#popup-template").html());
......@@ -159,9 +164,4 @@ $(document).ready(function() {
var legend = new SimpleControl("#legend-template", christmasSeason ? "holiday-legend" : "legend", {
position: "bottomright"
}).addTo(map);
Handlebars.registerHelper("date", function (ddmyyyy) {
return ddmyyyy.replace(/-/g, "/");
})
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment