Browse Source

Merge pull request #49 from lpirl/pr_bibtex_entry_url_css

pull/52/head
Martin Monperrus 10 years ago
parent
commit
f815e39d0d
  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 // 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

Loading…
Cancel
Save