revert as scripts should fire
This commit is contained in:
parent
56f3ebda34
commit
453d3f1356
14
Wiki.html
14
Wiki.html
@ -1,18 +1,18 @@
|
||||
<!-- <head>
|
||||
<head>
|
||||
<script>
|
||||
function changeUrl() {
|
||||
var $iFrameContents = $('iframe').contents(),
|
||||
$('iframe').load( function(){
|
||||
var $iFrameContents = $('iframe').contents(),
|
||||
$entryContent = $iFrameContents.find('div.file-view');
|
||||
$iFrameContents.find('html').replaceWith($entryContent);
|
||||
// Next restore the style-sheets
|
||||
var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view'));
|
||||
console.log("Cleaning content");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<iframe id="iframe" width="100%" onload="changeUrl()" height="100%" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs/src/branch/master/README.md" frameborder="0"></iframe> -->
|
||||
<iframe id="iframe" width="100%" height="100%" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs/src/branch/master/README.md" frameborder="0"></iframe>
|
||||
|
||||
<script>
|
||||
<!-- <script>
|
||||
const queryLoc = window.location.origin;
|
||||
console.log(queryLoc);
|
||||
fetch(queryLoc + "/" + "BrychanD/JavaECS-Docs/src/branch/master/README.md")
|
||||
@ -26,4 +26,4 @@ function changeUrl() {
|
||||
});
|
||||
</script>
|
||||
|
||||
<div id="renderspot2" style="height: 100%; width: 100%" />
|
||||
<div id="renderspot2" style="height: 100%; width: 100%" /> -->
|
Loading…
x
Reference in New Issue
Block a user