diff --git a/web_widget_numeric_step/static/src/numeric_step.esm.js b/web_widget_numeric_step/static/src/numeric_step.esm.js index 1522132d26c7..94ef3b48ccd0 100644 --- a/web_widget_numeric_step/static/src/numeric_step.esm.js +++ b/web_widget_numeric_step/static/src/numeric_step.esm.js @@ -4,17 +4,12 @@ import {registry} from "@web/core/registry"; import {standardFieldProps} from "@web/views/fields/standard_field_props"; import {_lt} from "@web/core/l10n/translation"; import {FloatField} from "@web/views/fields/float/float_field"; -import {hasTouch} from "@web/core/browser/feature_detection"; export class NumericStep extends FloatField { setup() { super.setup(); } _onStepClick(ev) { - const $el = $(ev.target).parent().parent().find("input"); - if (!hasTouch()) { - $el.focus(); - } const mode = $(ev.target).data("mode"); this._doStep(mode); }