[REM] web_editor: remove dead code about overlay handles

Commit [1] introduced some lines of code which added/removed the d-none
class on the overlay handles in some context. Commit [2] later reviewed
that code and removed the addition of the d-none class... but kept the
removal part by mistake.

It of course did not hurt at the time but now impacts new task being
developed in master.

[1]: https://github.com/odoo/odoo/commit/9bbe5be3fb0d995374a369851df3641979d8e553
[2]: https://github.com/odoo/odoo/commit/50cb0f3276819e22a6014bdb7895c7cbc0315ca8

Related to task-2825241

closes odoo/odoo#95954

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2022-07-13 19:56:10 +02:00
parent fc5572c11f
commit 9f3da72423
@@ -584,7 +584,6 @@ var SnippetEditor = Widget.extend({
// In preview mode, the sticky classes are left untouched, we only
// add/remove the preview class when toggling/untoggling
this.$el.toggleClass('o_we_overlay_preview', show);
this.$el.find('.o_handle').removeClass('d-none');
} else {
// In non preview mode, the preview class is always removed, and the
// sticky class is added/removed when toggling/untoggling