показ средних картнок

This commit is contained in:
Krivchikov Dmitry 2016-07-07 13:24:23 +03:00
parent 4f4fcccf10
commit 6a8d0e9f7c
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ function showImage(id)
if (typeof(point.images) == 'object') if (typeof(point.images) == 'object')
{ {
point.images.forEach(function(entry) { point.images.forEach(function(entry) {
if (true || window.devicePixelRatio > 1) { if ( window.devicePixelRatio > 1) {
photos.push({img: '/photos/big/'+entry, thumb: '/photos/small/'+entry}); photos.push({img: '/photos/big/'+entry, thumb: '/photos/small/'+entry});
} else { } else {
photos.push({img: '/photos/middle/'+entry, thumb: '/photos/small/'+entry}); photos.push({img: '/photos/middle/'+entry, thumb: '/photos/small/'+entry});