Compare commits

..
2 Commits
Author SHA1 Message Date
BrychanD d40dc06b93 Testing 2021-06-05 18:13:00 +12:00
BrychanD f952a928ac switched to just onload() 2021-06-05 18:10:38 +12:00
+5 -5
View File
@@ -6,10 +6,10 @@
$iFrameContents.find('html').replaceWith($entryContent);
// Next restore the style-sheets
var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view'));
$('iframe').load( function(){
console.log("Cleaning content");
cleanContent();
});
}
$('iframe').load( function(){
//put your iframe code here
cleanContent();
});
</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>