Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
Merge branch 'document-links' into 'testing'
Browse files Browse the repository at this point in the history
Moving b tag in hyperlink



See merge request !11
  • Loading branch information
ankoh committed Oct 21, 2015
2 parents 27ca620 + b26ee8c commit 5f2be29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/dist/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,11 @@ function queryDocuments() {
for (var i = 0; i < data.length; i++) {
docs += '<li>';
if(typeof data[i].title !== 'undefined') {
docs += '<b>';
if(data[i].website) {
docs += '<a href="' + data [i].website + '">' + data[i].title + '</a>';
docs += '<a href="' + data [i].website + '"><b>' + data[i].title + '</b></a>';
} else {
docs += data[i].title;
}
docs += '</b>';
docs += '</br>';
}
if(typeof data[i].authors !== 'undefined') {
Expand Down

0 comments on commit 5f2be29

Please sign in to comment.