Mercurial > hg > forks > multipaint-js
changeset 220:6db5defacbb3
Fix docompile.html.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 04 Sep 2018 15:44:13 +0300 |
parents | ed594b3e3f45 |
children | 17f635da5180 |
files | docompile.html |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docompile.html Tue Sep 04 15:43:05 2018 +0300 +++ b/docompile.html Tue Sep 04 15:44:13 2018 +0300 @@ -8,7 +8,7 @@ </head> <body> <canvas id="mpCanvas"></canvas> -<div id="mpUI"></div> +<div id="mpUI2"></div> <script> var mpMachine = 0; var mpCanvas = document.getElementById("mpCanvas"); @@ -21,7 +21,7 @@ { var code = "var multipaintJS =\n"+ inst.externals.sketch.sourceCode; var uriContent = "data:application/octet-stream,"+ encodeURIComponent(code); - document.getElementById("mpUI").innerHTML = "<a href="+ uriContent +" download=\"multipaint.js\">Here is the download link</a>"; + document.getElementById("mpUI2").innerHTML = "<a href="+ uriContent +" download=\"multipaint.js\">Here is the download link</a>"; } else setTimeout(mpWaitUntilSketchIsReady, 250);