Skip to content

Commit 7cfc7fd

Browse files
committed
Fix offline read local
1 parent f3eb461 commit 7cfc7fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

GlowScriptOffline/GlowScript.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<!-- Using GlowScript locally, based on the work of Vesa Lappalainen [email protected] -->
4+
<c-- Using GlowScript locally, based on the work of Vesa Lappalainen [email protected] -->
55
<title>GlowScript Offline</title>
66
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
77

@@ -57,7 +57,6 @@
5757
&nbsp;&nbsp;&nbsp;
5858
<button id="export" onclick="exportCode()">Export</button>
5959
&nbsp;&nbsp;&nbsp;
60-
<input type="file" id="read_local_file"/>
6160

6261
<script>
6362
var gsversion = '3.2'
@@ -284,7 +283,9 @@
284283
}
285284
}
286285
}
287-
document.getElementById('read_local_file').addEventListener('change', readSingleFile, false)
286+
287+
//document.getElementById('read_local_file').addEventListener('change', readSingleFile, false)
288+
288289
</script>
289290

290291
<div id="gserrors" style="font-family:Verdana;font-size:13px;color:#c00">

0 commit comments

Comments
 (0)