From e7d673b9a9c095c65f98ff77b96fea1ef02a38d6 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Tue, 5 Aug 2014 00:17:47 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D0=B0=D0=B7=20=D0=B1=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D1=88=D0=BE=D0=B9=20=D1=84=D0=BE=D1=82=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=BF=D1=80=D0=B8=20=D0=BA=D0=BB=D0=B8=D0=BA=D0=B5=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BA=D0=B0=D1=80=D1=82=D0=BE=D1=87=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/controllers/JsonController.php | 2 +- public/js/map.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ground/controllers/JsonController.php b/ground/controllers/JsonController.php index 9aa910c..d0d3a11 100644 --- a/ground/controllers/JsonController.php +++ b/ground/controllers/JsonController.php @@ -46,7 +46,7 @@ class JsonController extends Controller if ($point->img == '' && !empty($imgs)) { $img = array_shift($imgs); - $point->img = '/photos/small/' . $img->name; + $point->img = $img->name; } $imgs = $point->photos; diff --git a/public/js/map.js b/public/js/map.js index f08ddb3..c9ee6f1 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -177,7 +177,7 @@ function showInfo(id) pointsSources[id] = data; description = '
' + '

' + data.name + '

' + - '' + + '' + '
';