Fix lightbox on resize event
This commit is contained in:
@@ -973,9 +973,9 @@ function getMediaLink(asData, sType) {
|
||||
var bTimeDiff = (asData.posted_on_formatted && asData.posted_on_formatted_local != asData.posted_on_formatted);
|
||||
|
||||
var $Comment = (!asData.comment || asData.comment == '')?'':
|
||||
$('<span>', {'class': 'lb-caption-line comment', 'title': asData.comment})
|
||||
$('<span>', {'class': 'lb-caption-line comment desktop', 'title': asData.comment})
|
||||
.addIcon('fa-post fa-lg fa-fw', true)
|
||||
.append(asData.comment);
|
||||
.append($('<span>', {'class':'comment-text'}).text(asData.comment));
|
||||
|
||||
var $PostedOn =
|
||||
$('<span>', {'class': 'lb-caption-line', title: bTimeDiff?oSpot.lang('local_time', asData.posted_on_formatted_local):''})
|
||||
|
||||
Reference in New Issue
Block a user