|
|
@ -394,6 +394,7 @@ CategoryOverpass.prototype.updatePopupContent = function (object, popup) { |
|
|
|
var footer = document.createElement('ul') |
|
|
|
footer.className = 'popup-footer' |
|
|
|
var footerContent = '<li><a class="showDetails" href="#' + this.id + '/' + object.id + '/details">' + lang('show details') + '</a></li>' |
|
|
|
footerContent += '<li><a target="_blank" class="editLink" href="https://www.openstreetmap.org/edit?editor=id&' + object.object.type + '=' + object.object.osm_id + '">' + lang('edit') + '</a></li>' |
|
|
|
footer.innerHTML = footerContent |
|
|
|
popup._contentNode.appendChild(footer) |
|
|
|
|
|
|
|