Skip to content
Snippets Groups Projects
Commit a80ad3ab authored by Benjamin Vray's avatar Benjamin Vray
Browse files

[FIX] website: prevent scroll button editing


Before this commit, it was possible to edit scroll buttons with the
editor toolbar.

task-2656662

closes odoo/odoo#78532

Related: odoo/design-themes#518
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 49bb05f7
Branches
Tags
No related merge requests found
......@@ -2574,6 +2574,7 @@ options.registry.ScrollButton = options.Class.extend({
'justify-content-center',
'mx-auto',
'bg-primary',
'o_not_editable',
);
anchor.href = '#';
anchor.contentEditable = "false";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment