Avoid navigating inside iframe

HFJ-1479
pull/17/head
Frode Petterson 2016-01-27 12:42:55 +01:00
parent 06e9508eda
commit 43e9c7adcb
1 changed files with 2 additions and 1 deletions

View File

@ -375,7 +375,8 @@ H5P.getHeadTags = function (contentId) {
return tags; return tags;
}; };
return createStyleTags(H5PIntegration.core.styles) + return '<base target="_parent">' +
createStyleTags(H5PIntegration.core.styles) +
createStyleTags(H5PIntegration.contents['cid-' + contentId].styles) + createStyleTags(H5PIntegration.contents['cid-' + contentId].styles) +
createScriptTags(H5PIntegration.core.scripts) + createScriptTags(H5PIntegration.core.scripts) +
createScriptTags(H5PIntegration.contents['cid-' + contentId].scripts) + createScriptTags(H5PIntegration.contents['cid-' + contentId].scripts) +