We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc9276 commit 4610a5aCopy full SHA for 4610a5a
3 files changed
static/start.js
@@ -12,4 +12,9 @@ dbutton.onclick =function(){
12
if (frame.src != "downframe.html") frame.src = "downframe.html"
13
window.document.title = "Download something"
14
}
15
+frame.onload = function(){
16
+ if (frame.src === "uploadframe.html"){
17
+ document.getElementById("iframeid").contentWindow.code = upcode;
18
+ }
19
+}
20
static/uploadframe.html
@@ -5,7 +5,7 @@
5
</title>
6
</head>
7
<body>
8
- <script>
+ <script>
9
let code = null;
10
11
</script>
templates/start.html
@@ -2,7 +2,7 @@
2
<head>
3
<title>Upload something</title>
4
<script>
- let upcode = "\\code"
+ let upcode = "\\code"
let downcode = "\\code2"
let size = window.innerHeight;
0 commit comments