Skip to content

Commit

Permalink
updates title for publication only view
Browse files Browse the repository at this point in the history
  • Loading branch information
gab3 committed Mar 26, 2018
1 parent c3e39b2 commit d4e4237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/js/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ var profile_reader = (function($, undefined) {
});
$.each(all_pubs.slice(0, publication_limit), function(key, pub){
if(pub.url){
$('#publication-container').append('<a href="' + pub.url + '" target="_blank">' + pub.name + '</a> [' + pub.year + ']<br>');
$('#publication-container').append('<a href="' + pub.url + '" target="_blank">' + pub.title + '</a> [' + pub.year + ']<br>');
}else{
$('#publication-container').append( pub.name + ' [' + pub.year + ']<br>');
$('#publication-container').append( pub.title + ' [' + pub.year + ']<br>');
}
});
}
Expand Down

0 comments on commit d4e4237

Please sign in to comment.