switched to direct render
This commit is contained in:
parent
155ef6e394
commit
1f5f09ee0c
14
Wiki.html
14
Wiki.html
@ -1,4 +1,4 @@
|
||||
<head>
|
||||
<!-- <head>
|
||||
<script>
|
||||
function changeUrl() {
|
||||
var $iFrameContents = $('iframe').contents(),
|
||||
@ -10,4 +10,14 @@ function changeUrl() {
|
||||
}
|
||||
</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%" onload="changeUrl()" height="100%" src="https://git.software.kauripeak.co.nz/BrychanD/JavaECS-Docs/src/branch/master/README.md" frameborder="0"></iframe> -->
|
||||
|
||||
<script>
|
||||
const queryLoc = window.location.origin;
|
||||
fetch(queryLoc + "/" + "BrychanD/JavaECS-Docs/src/branch/master/README.md")
|
||||
.then(x => x.getElementsByClassName("file-view").text())
|
||||
.then(y => document.getElementById("renderspot2").innerHTML = y);
|
||||
|
||||
</script>
|
||||
|
||||
<div id="renderspot2" style="height: 100%; width: 100%" />
|
Loading…
x
Reference in New Issue
Block a user