diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-13 10:29:29 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-21 00:30:00 +0100 |
| commit | a46f0c2ba9537d91944b3734f18a3fbfb822c9f8 (patch) | |
| tree | 7e18e6705383b0f7f5d3ece9d764eaf9731b2b43 | |
| parent | 47905e954726ff95ce5e4493def91b9107668c94 (diff) | |
| download | puzzles-a46f0c2ba9537d91944b3734f18a3fbfb822c9f8.zip puzzles-a46f0c2ba9537d91944b3734f18a3fbfb822c9f8.tar.gz puzzles-a46f0c2ba9537d91944b3734f18a3fbfb822c9f8.tar.bz2 puzzles-a46f0c2ba9537d91944b3734f18a3fbfb822c9f8.tar.xz | |
js: Read save files as text rather than binary strings
If I'm going to insist they're text I should be consistent about it.
| -rw-r--r-- | emccpre.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -391,7 +391,7 @@ function initPuzzle() { var string = reader.result; load_game(string, string.length); }); - reader.readAsBinaryString(file); + reader.readAsText(file); } dialog_cleanup(); }, function(event) { |