diff --git a/app/javascript/controllers/select_champ_position_template_controller.ts b/app/javascript/controllers/select_champ_position_template_controller.ts index b48db7362..eced22c5f 100644 --- a/app/javascript/controllers/select_champ_position_template_controller.ts +++ b/app/javascript/controllers/select_champ_position_template_controller.ts @@ -48,14 +48,6 @@ export class SelectChampPositionTemplateController extends ApplicationController option.setAttribute('disabled', 'disabled'); } }); - options.map((option, index) => { - const previousOption = options[index - 1]; - // can't move current element after previous element - if (previousOption && option.value == focusedSelectStableId) { - previousOption.setAttribute('selected', 'selected'); - previousOption.setAttribute('disabled', 'disabled'); - } - }); focusedSelect.innerHTML = options .map((option) => option.outerHTML)