From 0096b931edf27b44e97c3aeca5b19409f3316db9 Mon Sep 17 00:00:00 2001 From: annaszalkiewicz Date: Mon, 16 Jul 2018 18:51:16 +0200 Subject: [PATCH] Edit images urls --- dist/js/dbhelper.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/js/dbhelper.js b/dist/js/dbhelper.js index 913ddf8..4007dad 100644 --- a/dist/js/dbhelper.js +++ b/dist/js/dbhelper.js @@ -202,7 +202,7 @@ var DBHelper = function () { }, { key: 'imageUrlForRestaurant', value: function imageUrlForRestaurant(restaurant) { - return './restaurant-reviews-app/img/' + restaurant.photograph; + return './img/' + restaurant.photograph; } /** @@ -212,7 +212,7 @@ var DBHelper = function () { }, { key: 'thumbnailUrlForRestaurant', value: function thumbnailUrlForRestaurant(restaurant) { - return './restaurant-reviews-app/img/' + restaurant.thumbnail; + return './img/' + restaurant.thumbnail; } /** @@ -224,7 +224,7 @@ var DBHelper = function () { value: function mapMarkerForRestaurant(restaurant, map) { var marker = new google.maps.Marker({ position: restaurant.latlng, - icon: './restaurant-reviews-app/img/restaurant-icon.png', + icon: './img/restaurant-icon.png', title: restaurant.name, url: DBHelper.urlForRestaurant(restaurant), map: map,