From f3508a301292daddfc0a55417872108e0e41ab54 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Sat, 26 Apr 2014 20:54:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=BE=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/main.js b/public/js/main.js index 8315c1f..d7ba916 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -129,12 +129,13 @@ function showInfo(id) point = getURLParameter('point'); if (point != null && id == point) { - myMap.setCenter(points[point].geometry.getCoordinates()); points[point].balloon.open(); } } }); } + + history.pushState({}, document.title, "/?point="+id); return true; }