@ -94,6 +94,10 @@ function CategoryOverpass (id, data) {
}
this.updatePopupContent(ob, ob.popup)
if (document.getElementById('content').className === 'details') {
showDetails(ob, this)
}.bind(this)
p = document.createElement('div')
@ -205,7 +205,7 @@ function show (id, options, callback) {
})
function showDetails (data, category) {
window.showDetails = function (data, category) {
var div, h, dt, dd
var k
var dom = document.getElementById('contentDetails')