Skip to content

Commit

Permalink
Merge pull request #93 from dschlute/master
Browse files Browse the repository at this point in the history
[Consumer] #78 Locked the aspect ratio of the logo so that it resizes…
  • Loading branch information
levifelling authored Jun 14, 2016
2 parents 2efae49 + e36bdeb commit 73ff48c
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 73ff48c

Please sign in to comment.