Skip to content

Commit f34510a

Browse files
committed
Fix file reloading (by @lorol)
1 parent 68c7823 commit f34510a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/glyphEditor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,8 @@
370370
+"type: " + f.type + "\n"
371371
+"size: " + f.size + " bytes\n"
372372
+"starts with: " + contents.substr(0, contents.indexOf("\n"))
373-
);
374-
document.getElementById("inputText").innerHTML = contents;
373+
);
374+
document.getElementById("inputText").value = contents;
375375
};
376376
r.readAsText(f);
377377
} else {

0 commit comments

Comments
 (0)