diff --git a/public/js/map.js b/public/js/map.js index e56f96d..ec317ea 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -171,11 +171,13 @@ function showInfo(id) pointsSources[id] = data; if (typeof(data.images) == 'object') { - ph = ''; + ph = '
'; + if (data.images.length > 1) - ph = '
+' + (data.photosCount-1) + '
'; + ph += '
+' + (data.photosCount-1) + '
'; ph += ''; + ph += '
'; } else {