iframes wont work

This commit is contained in:
Brychan Dempsey 2021-06-05 20:18:16 +12:00
parent 2bb1b41d89
commit f650409d12

View File

@ -1,17 +1,4 @@
<head>
<script>
var x = document.getElementById("docFrame");
var y = (x.contentWindow || x.contentDocument);
if (y.document)y = y.document;
console.log(y);
</script>
</head>
<iframe id="docFrame" width="100%" 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;
console.log(queryLoc);
fetch(queryLoc + "/" + "BrychanD/JavaECS-Docs/src/branch/master/README.md")
@ -25,4 +12,4 @@ console.log(y);
});
</script>
<div id="renderspot2" style="height: 100%; width: 100%" /> -->
<div id="renderspot2" style="height: 100%; width: 100%" />