diff --git a/public/js/app.js b/public/js/app.js index 245e661..261a0e8 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -146,7 +146,7 @@ window.addEventListener('popstate', function(e) setStatus(statusMovingInHistory); if (e.state.hasOwnProperty('pointId')) { - points[e.state.pointId].openPopup(); + showInfo(e.state.pointId); } else if (e.state.hasOwnProperty('zoom')) {