Fix clickable image marker

This commit is contained in:
2022-04-22 20:37:49 +02:00
parent ca636e0287
commit 4ea4ba02d8

View File

@@ -887,7 +887,7 @@ function getPost(asPost) {
.append($('<a>', {'class':'drill'}) .append($('<a>', {'class':'drill'})
.append((!asPost.weather_icon || asPost.weather_icon=='unknown')?'':$('<span>', {'class':'weather clickable', 'title':oSpot.lang(asPost.weather_cond)}).addIcon('fa-'+asPost.weather_icon).append($('<span>').text(asPost.weather_temp+'°C'))) .append((!asPost.weather_icon || asPost.weather_icon=='unknown')?'':$('<span>', {'class':'weather clickable', 'title':oSpot.lang(asPost.weather_cond)}).addIcon('fa-'+asPost.weather_icon).append($('<span>').text(asPost.weather_temp+'°C')))
.append($('<img>', {'class':'staticmap clickable', title: oSpot.lang('click_zoom'), src: asPost.static_img_url})) .append($('<img>', {'class':'staticmap clickable', title: oSpot.lang('click_zoom'), src: asPost.static_img_url}))
.append($('<span>', {'class': 'drill-icon fa-stack'}) .append($('<span>', {'class': 'drill-icon fa-stack clickable'})
.addIcon('fa-message fa-stack-2x clickable') .addIcon('fa-message fa-stack-2x clickable')
.addIcon('fa-message-in fa-stack-1x fa-rotate-270') .addIcon('fa-message-in fa-stack-1x fa-rotate-270')
) )