Skip to content

Commit

Permalink
Merge branch 'release/1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
domjngo committed Mar 29, 2016
2 parents ef48a00 + 1dfa4fe commit 058a625
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js/tna-eventbrite-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ $(document).ready(function () {
} else {
free = '';
}
if (event.venue_id) {
var onlineStatus = (event.venue_id);
if (onlineStatus == '9478447') {
if ( event.online_event == true ) {
var eventOnline = '<div class="online-event"><span>Online event</span></div>';
} else {
eventOnline = '';
}
var eventOnline = '';
}
s += "<li class='clr'><div class='event-img'>" + eventOnline + image + "</div><div class='event-text'><p><span class='text-small'>" + eventTime + "</span></p><h4><a href='" + event.url + "' alt='" + event.name.text + "' target='_blank'>" + event.name.text + "</a></h4><p class='event-status'>" + free + "</p></div></li>";
}
Expand Down

0 comments on commit 058a625

Please sign in to comment.