From eb1fa6d2a9d0ec7321af6306580980e37f4ece49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Geelen=20=28sge=29?= Date: Thu, 27 May 2021 09:17:36 +0000 Subject: [PATCH] [FIX] web_editor : remove duplicate focus() declaration closes odoo/odoo#71319 Signed-off-by: David Monjoie (dmo) --- addons/web_editor/static/src/js/wysiwyg/wysiwyg.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index cab7d0abf85..888e02588c3 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -411,9 +411,6 @@ const Wysiwyg = Widget.extend({ redo: function () { this.odooEditor.historyRedo(); }, - focus() { - this.odooEditor.resetCursorOnLastHistoryCursor(); - }, /** * Focus inside the editor. *