Refactor pointer cursor

This commit is contained in:
2022-04-22 19:11:50 +02:00
parent ebdb9e1766
commit ca636e0287
7 changed files with 20 additions and 20 deletions

View File

@@ -885,10 +885,10 @@ function getPost(asPost) {
.append($('<p>').addIcon('fa-time', true).append(sAbsTime))
.append(bTimeDiff?$('<p>').addIcon('fa-timezone', true).append(oSpot.lang('local_time', getRelativeTime(sAbsTimeLocal, asPost.day_offset))):'')
.append($('<a>', {'class':'drill'})
.append((!asPost.weather_icon || asPost.weather_icon=='unknown')?'':$('<span>', {'class':'weather', 'title':oSpot.lang(asPost.weather_cond)}).addIcon('fa-'+asPost.weather_icon).append($('<span>').text(asPost.weather_temp+'°C')))
.append($('<img>', {'class':'staticmap', title: oSpot.lang('click_zoom'), src: asPost.static_img_url}))
.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($('<span>', {'class': 'drill-icon fa-stack'})
.addIcon('fa-message fa-stack-2x')
.addIcon('fa-message fa-stack-2x clickable')
.addIcon('fa-message-in fa-stack-1x fa-rotate-270')
)
.click(function(){
@@ -1013,7 +1013,8 @@ function getMediaLink(asData, sType) {
'src': asData.thumb_path,
'width': asData.width, //set image ratio so that the required space can be reserved
'height': asData.height,
'title': oSpot.lang((asData.subtype == 'video')?'click_watch':'click_zoom')
'title': oSpot.lang((asData.subtype == 'video')?'click_watch':'click_zoom'),
'class':'clickable'
})
)
.append($('<span>', {'class': 'drill-icon'}).addIcon('fa-drill-'+asData.subtype));