Commit 5be9a747 authored by Maxime Chaillet's avatar Maxime Chaillet

Merge branch 'issue72' into 'master'

replace appendTo() with append(). This is a test.

See merge request !84
parents 256c656b 93dd37e8
Pipeline #10314 passed with stages
in 1 minute and 17 seconds
This diff is collapsed.
......@@ -180,8 +180,12 @@ DOIView.prototype.setDataAccessMessage = function (doiData) {
* @param {string} data doi metadata in Json+LD format as provided by datacite.
*/
DOIView.prototype.addDOIMetadataToHead = function (data) {
$('<script>')
$('head').append('<script>')
.attr('type', 'application/ld+json')
.text(data)
.appendTo('head');
.text(data);
// $('<script>')
// .attr('type', 'application/ld+json')
// .text(data)
// .appendTo('head');
};
\ No newline at end of file
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