FIX положение счётчика фотографий
This commit is contained in:
parent
40cda40db8
commit
bba1358be8
|
|
@ -171,11 +171,13 @@ function showInfo(id)
|
|||
pointsSources[id] = data;
|
||||
if (typeof(data.images) == 'object')
|
||||
{
|
||||
ph = '';
|
||||
ph = '<div style="position: relative;">';
|
||||
|
||||
if (data.images.length > 1)
|
||||
ph = '<div class="photosCount"><span class="glyphicon glyphicon-camera"></span> <b>+' + (data.photosCount-1) + '</b></div>';
|
||||
ph += '<div class="photosCount"><span class="glyphicon glyphicon-camera"></span> <b>+' + (data.photosCount-1) + '</b></div>';
|
||||
|
||||
ph += '<img src="/photos/small/' + data.img + '" onclick="showImage(\''+ id +'\')" />';
|
||||
ph += '</div>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue