diff --git a/app/javascript/controllers/edad_controller.js b/app/javascript/controllers/edad_controller.js index 7d617c9a7..22431a543 100644 --- a/app/javascript/controllers/edad_controller.js +++ b/app/javascript/controllers/edad_controller.js @@ -106,7 +106,7 @@ export default class extends Controller { this.rangoedadTarget.selectedIndex = i; break; } - if (rango.length == 1 && edad > = rango[0]) { + if (rango.length == 1 && edad >= rango[0]) { this.rangoedadTarget.selectedIndex = i; break; }