Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
437 B · 11 lines
at lambda-parse
123456789101112window.update_category_selector = (game_shortname) -> $('#game_category_submit').attr('disabled', true) $.get('/api/v3/games/' + game_shortname).success (res) -> el = $('#' + gon.run.id + '_category') el.empty() $.each(res.game.categories, (_, category) -> el.append( $('<option></option>').attr('value', category.id).text(category.name) ) ) $('#game_category_submit').attr('disabled', false)