diff --git a/addons/web/static/src/js/views/control_panel/control_panel_renderer.js b/addons/web/static/src/js/views/control_panel/control_panel_renderer.js index bdde2827e96..12d120b53ab 100644 --- a/addons/web/static/src/js/views/control_panel/control_panel_renderer.js +++ b/addons/web/static/src/js/views/control_panel/control_panel_renderer.js @@ -185,7 +185,7 @@ var ControlPanelRenderer = Renderer.extend({ * @private */ _focusSearchInput: function () { - if (this.withSearchBar && !config.device.isMobile) { + if (this.withSearchBar && !config.device.isMobileDevice) { // in mobile mode, we would rather not focus manually the // input, because it opens up the integrated keyboard, which is // not what you expect when you just selected a filter.