Browse Source

added CSS class for "Bibtex entry URL"

pull/49/head
Lukas Pirl 10 years ago
parent
commit
613973a12a
  1. 2
      bibtexbrowser.php

2
bibtexbrowser.php

@ -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
// 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>')
$('<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

Loading…
Cancel
Save