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
+1 -1
View File
@@ -2491,7 +2491,7 @@ $('a.biburl').each(function() { // for each url "[bibtex]"
// we add a link so that users clearly see that even with AJAX // we add a link so that users clearly see that even with AJAX
// there is still one URL per paper. // there is still one URL per paper.
elem.append( elem.append(
$('<div>%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>') $('<div class="bibtex_entry_url">%% Bibtex entry URL: <a href="'+bibtexEntryUrl+'">'+bibtexEntryUrl+'</a></div>')
).appendTo(biburl.parent()); ).appendTo(biburl.parent());
}, error: function() {window.location.href = biburl.attr('href');}}); }, error: function() {window.location.href = biburl.attr('href');}});
} else {biburl.nextAll('pre').toggle();} // we toggle the view } else {biburl.nextAll('pre').toggle();} // we toggle the view