Commit a9940c93 authored by Maxime Chaillet's avatar Maxime Chaillet

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

use an html element id instead of head to try to get the dataset schema within the page. This is a test.
parent 0b22dc4d
......@@ -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