added CSS class for "Bibtex entry URL"

This commit is contained in:
Lukas Pirl
2015-11-29 01:40:52 +13:00
parent d2929c37c4
commit 613973a12a
+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 (which is important for crawlers and metadata)
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
});