From 226de87ff8ef9feaa035296e11939bc999e869be Mon Sep 17 00:00:00 2001 From: franzz Date: Fri, 3 May 2019 22:51:09 +0200 Subject: [PATCH] fix picture numbering --- masks/project.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masks/project.html b/masks/project.html index 96ac555..341cdcb 100755 --- a/masks/project.html +++ b/masks/project.html @@ -332,7 +332,7 @@ function initSpotMessages(aoMessages, aoTracks) { if(oMsg.pics) { var $Pics = $('
', {'class':'pics'}); $.each(oMsg.pics, function(iKey, asPic){ - $Pics.append($('', {href: asPic.pic_path, 'data-lightbox': self.consts.title, 'data-title': asPic.formatted_time+self.tmp('site_tz_notice')}) + $Pics.append($('', {href: asPic.pic_path, 'data-lightbox': 'marker-pictures', 'data-title': 'Photo prise le '+asPic.formatted_time+self.tmp('site_tz_notice')}) .append($('', {'src': asPic.thumb_path}))); }); $Tooltip @@ -440,7 +440,7 @@ function getPost(asPost) { break; case 'picture': var $Image = $('', {'src': asPost.thumb_path, title: 'Click pour zoomer'/*, 'style':'transform:rotate('+asPost.rotate+'deg);'*/}); - $Body = $('', {href: asPost.pic_path, 'data-lightbox': self.consts.title, 'data-title': 'Photo ajoutée le '+sAbsTime+' et prise le '+asPost.taken_on_formatted+self.tmp('site_tz_notice')}).append($Image); + $Body = $('', {href: asPost.pic_path, 'data-lightbox': 'post-pictures', 'data-title': 'Photo ajoutée le '+sAbsTime+' et prise le '+asPost.taken_on_formatted+self.tmp('site_tz_notice')}).append($Image); break; case 'post': $Body = $('
')