diff --git a/js/Grid/IO.js b/js/Grid/IO.js index 262d534..ac74835 100644 --- a/js/Grid/IO.js +++ b/js/Grid/IO.js @@ -14,12 +14,12 @@ function init() { } function load() { - Grid.clear(); - Mode.setEnabled(false, ['play', 'solve']); Async.run( Async.bind( File.pick({accept: 'text/json,.json'}), function(input) { + Grid.clear(); + Mode.setEnabled(false, ['play', 'solve']); return File.load(input.files[0]); }, function(data) {