Skip to content

Commit

Permalink
Edit images urls
Browse files Browse the repository at this point in the history
  • Loading branch information
annaszalkiewicz committed Jul 16, 2018
1 parent b5af945 commit 0096b93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/js/dbhelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ var DBHelper = function () {
}, {
key: 'imageUrlForRestaurant',
value: function imageUrlForRestaurant(restaurant) {
return './restaurant-reviews-app/img/' + restaurant.photograph;
return './img/' + restaurant.photograph;
}

/**
Expand All @@ -212,7 +212,7 @@ var DBHelper = function () {
}, {
key: 'thumbnailUrlForRestaurant',
value: function thumbnailUrlForRestaurant(restaurant) {
return './restaurant-reviews-app/img/' + restaurant.thumbnail;
return './img/' + restaurant.thumbnail;
}

/**
Expand All @@ -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,
Expand Down

0 comments on commit 0096b93

Please sign in to comment.