diff --git a/addons/web_editor/static/src/js/wysiwyg/widgets/link_tools.js b/addons/web_editor/static/src/js/wysiwyg/widgets/link_tools.js index 528d0fc16773aa9b98b05cb05bf390241322c6ac..d84d88abbf3f3fb6ec7c2b12337f16e51dfe150d 100644 --- a/addons/web_editor/static/src/js/wysiwyg/widgets/link_tools.js +++ b/addons/web_editor/static/src/js/wysiwyg/widgets/link_tools.js @@ -386,19 +386,15 @@ const LinkTools = Link.extend({ * Add hint to the classes of the link and button. */ _addHintClasses () { - this.options.wysiwyg.odooEditor.observerUnactive("hint_classes"); this.$link.addClass('oe_edited_link'); this.$button.addClass('active'); - this.options.wysiwyg.odooEditor.observerActive("hint_classes"); }, /** * Remove hint to the classes of the link and button. */ _removeHintClasses () { - this.options.wysiwyg.odooEditor.observerUnactive("hint_classes"); $(this.options.wysiwyg.odooEditor.document).find('.oe_edited_link').removeClass('oe_edited_link'); this.$button.removeClass('active'); - this.options.wysiwyg.odooEditor.observerActive("hint_classes"); }, //--------------------------------------------------------------------------