Skip to content

Commit

Permalink
[Consumer] #78 Locked the aspect ratio of the logo so that it resizes…
Browse files Browse the repository at this point in the history
… based on the width being 200
  • Loading branch information
Dale Schluter authored and Dale Schluter committed Jun 14, 2016
1 parent 2efae49 commit e36bdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer-ui/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function isAfter (date1, date2) {

function getPopupHtml (value, dateFormat, timeFormat, expired) {
var content = '<a href="' + (value.foodtruck.website_url ? value.foodtruck.website_url : '#') + '">' + value.foodtruck.title + '</a><br/>'
if (value.foodtruck.logo) content += '<img src="' + value.foodtruck.logo + '" alt="logo"/>'
if (value.foodtruck.logo) content += '<img src="' + value.foodtruck.logo + '" alt="logo" width=200/>'
content += '<p>' + value.foodtruck.description + '</p>'

content += '<p class="details">Here on ' +
Expand Down

0 comments on commit e36bdeb

Please sign in to comment.