Commit 7875b6a9 authored by Maxime Chaillet's avatar Maxime Chaillet

fix link on doi badge

parent dec2d52e
This diff is collapsed.
......@@ -26,7 +26,7 @@ DOIView.prototype.setDOI = function( doiCode ) {
$( "#doiPanel" ).html(
"<div class='col'> </div> " +
"<div class='col-auto mr-3 borderRadius-5 whiteBackground' style='padding:10px;'>" +
"<span class='doiBadge borderRadius-5 fontSize-20'> <a href=''>" +
"<span class='doiBadge borderRadius-5 fontSize-20'> <a id='doiLink' href=''>" +
doiCode.toUpperCase() +
"</a> </span> </div>");
};
......@@ -36,7 +36,7 @@ DOIView.prototype.setDOI = function( doiCode ) {
*
*/
DOIView.prototype.setDOILink = function( doiLink ) {
$( "#doiPanel" ).attr("href", doiLink.toUpperCase() );
$( "#doiLink" ).attr("href", doiLink.toUpperCase() );
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment