From 6a8d0e9f7c0182d93659b666f856164a8f14fda2 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Thu, 7 Jul 2016 13:24:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=20=D1=81=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=BD=D0=B8=D1=85=20=D0=BA=D0=B0=D1=80=D1=82=D0=BD?= =?UTF-8?q?=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index 94903e2..4516645 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -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});