Merge pull request #49 from lpirl/pr_bibtex_entry_url_css

This commit is contained in:
Martin Monperrus
2015-11-28 15:34:54 +01:00
+2 -2
View File
@@ -2491,8 +2491,8 @@ $('a.biburl').each(function() { // for each url "[bibtex]"
// we add a link so that users clearly see that even with AJAX
// there is still one URL per paper.
elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
$('<div class="bibtex_entry_url">%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view
});