Skip to content
Snippets Groups Projects
Commit c15f1ac1 authored by Rodolpho Lima's avatar Rodolpho Lima
Browse files

[FIX] web_editor: toolbar glitch when selecting media


The code snippet removed by this commit had no useful effect, as
`selection.addRange(range)` a few line above triggers
`OdooEditor._onSelectionChange`, which repositions the toolbar
elsewhere.

The result was a "glitch": the toolbar would briefly be displayed over
the top left corner of the media before finally being displayed above
(or below) it.

This commit removes such undesirable effect.

task-3347942

closes odoo/odoo#123568

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent c0280bf6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment