diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/wittle/puzzles/_handle_puzzle.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wittle/puzzles/_handle_puzzle.html.erb b/app/views/wittle/puzzles/_handle_puzzle.html.erb index 81bca29..e451745 100644 --- a/app/views/wittle/puzzles/_handle_puzzle.html.erb +++ b/app/views/wittle/puzzles/_handle_puzzle.html.erb | |||
@@ -51,7 +51,7 @@ window.onload = function() { | |||
51 | <% else %> | 51 | <% else %> |
52 | var puzzle = window.deserializePuzzle("<%= @puzzle.data %>") | 52 | var puzzle = window.deserializePuzzle("<%= @puzzle.data %>") |
53 | draw(puzzle) | 53 | draw(puzzle) |
54 | drawPath(puzzle, JSON.parse("<%= escape_javascript(sanitize @puzzle.solved_data) %>")) | 54 | drawPath(puzzle, JSON.parse("<%= escape_javascript(sanitize @solution) %>")) |
55 | window.trace = function() {} | 55 | window.trace = function() {} |
56 | <% end %> | 56 | <% end %> |
57 | } | 57 | } |