diff --git a/addons/website/static/src/js/editor/snippets.editor.js b/addons/website/static/src/js/editor/snippets.editor.js index 42464025cbf..9ea5ededccf 100644 --- a/addons/website/static/src/js/editor/snippets.editor.js +++ b/addons/website/static/src/js/editor/snippets.editor.js @@ -82,17 +82,6 @@ const wSnippetMenu = weSnippetEditor.SnippetsMenu.extend({ FontFamilyPickerUserValueWidget.prototype.fontVariables = fontVariables; return this._super(...arguments); }, - /** - * @override - */ - _patchForComputeSnippetTemplates($html) { - // TODO Remove in master. - const themeBodyLineHeightEl = $html.find( - "[data-selector='theme-paragraph'] we-input[data-customize-website-variable][data-variable='body-line-height']" - )[0]; - delete themeBodyLineHeightEl.dataset.unit; - delete themeBodyLineHeightEl.dataset.saveUnit; - }, /** * Depending of the demand, reconfigure they gmap key or configure it * if not already defined.