Update main.js

This commit is contained in:
Elijah Bansley 2018-05-19 04:29:53 -05:00 committed by GitHub
parent 10881fb669
commit db31f5c6c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,11 +69,11 @@ function readFileAsArrayBuffer(file) {
} }
function logOutput(...message) { function logOutput(...message) {
document.getElementById("output").innerHTML = document.getElementById("output").innerHTML + message.join(" ") + "\n"; document.getElementById("output").innerHTML = document.getElementById("output").innerHTML + message.join(" ") + "<br>";
} }
function clearLog() { function clearLog() {
document.getElementById("output").value = ""; document.getElementById("output").innerHTML = "";
} }
let device; let device;