switched to just onload()

This commit is contained in:
Brychan Dempsey 2021-06-05 18:10:38 +12:00
parent 7395b943b8
commit f952a928ac

View File

@ -7,9 +7,5 @@
// Next restore the style-sheets
var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view'));
}
$('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>