about summary refs log tree commit diff stats
path: root/app/views/puzzles/solve.js.erb
blob: 2aa22e96f6786fc38c44999b87e3702aaf38a57f (plain) (blame)
1
2
3
4
5
$("#submission-form").html('<%= escape_javascript(render partial: "submission") %>');
$("#submission-form #name").val(window.settings.player_name)
$("#submission-form #name").on("change", function() {
  window.settings.player_name = this.value
})