Compare commits
2 Commits
7395b943b8
...
d40dc06b93
Author | SHA1 | Date | |
---|---|---|---|
d40dc06b93 | |||
f952a928ac |
@ -6,10 +6,10 @@
|
|||||||
$iFrameContents.find('html').replaceWith($entryContent);
|
$iFrameContents.find('html').replaceWith($entryContent);
|
||||||
// Next restore the style-sheets
|
// Next restore the style-sheets
|
||||||
var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view'));
|
var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view'));
|
||||||
}
|
|
||||||
$('iframe').load( function(){
|
$('iframe').load( function(){
|
||||||
//put your iframe code here
|
console.log("Cleaning content");
|
||||||
cleanContent();
|
cleanContent();
|
||||||
});
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<iframe width="100%" height="100%" onLoad="cleanContent()" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs/src/branch/master/README.md" frameborder="0"></iframe>
|
<iframe width="100%" height="100%" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs/src/branch/master/README.md" frameborder="0"></iframe>
|
Loading…
x
Reference in New Issue
Block a user