diff --git a/assets/maps/src/Contao.js b/assets/maps/src/Contao.js index a088a9e..243addd 100644 --- a/assets/maps/src/Contao.js +++ b/assets/maps/src/Contao.js @@ -110,7 +110,7 @@ L.Contao = L.Class.extend({ }, /** - * Layer a url into a layer using omnivore. + * Load data from an url into a layer using omnivore. * * @param hash The leaflet url hash. * @param type The response content format. @@ -126,7 +126,7 @@ L.Contao = L.Class.extend({ // Required because Control.Loading tries to get _leafet_id which is created here. L.stamp(layer); - // Add listender for map bounds changes. + // Add listener for map bounds changes. if (map.options.dynamicLoad && layer.options.boundsMode == 'fit') { layer.options.requestHash = hash; map.on('moveend', layer.refreshData, layer);