Commit bf92585a authored by Maxime Chaillet's avatar Maxime Chaillet

Merge branch 'issue72' into 'master'

use an html element id instead of head to try to get the dataset schema within...

See merge request icat/doi-landing-page!87
parents cad3d3ba a9940c93
......@@ -41,7 +41,7 @@
</script>
</head>
<body>
<body id='test' >
<div class="align-items-center blueBackground" style="display:flex; flex-wrap: wrap">
<div style="flex: 0 0 auto; padding-left: 10px;">
<img id="logo" style="height:80px;" src="/src/images/esrflogo.png" alt="the ESRF logo">
......
This diff is collapsed.
......@@ -180,7 +180,7 @@ DOIView.prototype.setDataAccessMessage = function (doiData) {
* @param {string} data doi metadata in Json+LD format as provided by datacite.
*/
DOIView.prototype.addDOIMetadataToHead = function (data) {
$('head').append(
$('#test').append(
$('<script>')
.attr('type', 'application/ld+json')
.text(data)
......
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