показ средних картнок
This commit is contained in:
parent
4f4fcccf10
commit
6a8d0e9f7c
|
|
@ -92,7 +92,7 @@ function showImage(id)
|
|||
if (typeof(point.images) == 'object')
|
||||
{
|
||||
point.images.forEach(function(entry) {
|
||||
if (true || window.devicePixelRatio > 1) {
|
||||
if ( window.devicePixelRatio > 1) {
|
||||
photos.push({img: '/photos/big/'+entry, thumb: '/photos/small/'+entry});
|
||||
} else {
|
||||
photos.push({img: '/photos/middle/'+entry, thumb: '/photos/small/'+entry});
|
||||
|
|
|
|||
Loading…
Reference in New Issue