Fix issues with renaming of diary entry controller

This commit is contained in:
Tom Hughes 2018-11-17 17:47:51 +00:00
parent dc6a5bc1a6
commit 85802048a7
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ $(document).ready(function () {
}
marker = L.marker(e.latlng, {icon: OSM.getUserIcon()}).addTo(map)
.bindPopup(I18n.t('diary_entry.edit.marker_text'));
.bindPopup(I18n.t('diary_entries.edit.marker_text'));
}
$("#usemap").click(function (e) {
@ -35,7 +35,7 @@ $(document).ready(function () {
if ($("#latitude").val() && $("#longitude").val()) {
marker = L.marker(centre, {icon: OSM.getUserIcon()}).addTo(map)
.bindPopup(I18n.t('diary_entry.edit.marker_text'));
.bindPopup(I18n.t('diary_entries.edit.marker_text'));
}
map.on("click", setLocation);