summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/script.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/script.js b/data/script.js
index 8ed1aa8..58d94f3 100644
--- a/data/script.js
+++ b/data/script.js
@@ -7,6 +7,9 @@ $(document).ready (function () {
var data = $(this).data ('proto');
$('#popup h2').text (data.name);
$('#popup .subtitle').text (data.longname);
+ $('#popup .doi').text ('doi:' + data.doi);
+ $('#popup .doi').attr ('href', 'http://doi.org/' + data.doi);
+ $('#popup .scholar').attr ('href', 'http://scholar.google.com/scholar?q=' + encodeURIComponent (data.title));
$('#popup .year').text (data.year);
$('#popup .description').text (data.description);