diff --git a/modules/ui/fields/maxspeed.js b/modules/ui/fields/maxspeed.js index a8b5eca7f..0bbee9f10 100644 --- a/modules/ui/fields/maxspeed.js +++ b/modules/ui/fields/maxspeed.js @@ -35,12 +35,13 @@ export function uiFieldMaxspeed(field, context) { .merge(wrap); - input = wrap.selectAll('#' + field.domId) + input = wrap.selectAll('input.maxspeed-number') .data([0]); input = input.enter() .append('input') .attr('type', 'text') + .attr('class', 'maxspeed-number') .attr('id', field.domId) .attr('maxlength', context.maxCharsForTagValue() - 4) .call(utilNoAuto)