mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user