[FIX] web_editor: make checklist work in firefox
task-2833778 closes odoo/odoo#89918 X-original-commit: e3304148035ec04f435475bbf9ba803dc630ae37 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -2817,7 +2817,7 @@ export class OdooEditor extends EventTarget {
|
||||
const node = ev.target;
|
||||
// handle checkbox lists
|
||||
if (node.tagName == 'LI' && getListMode(node.parentElement) == 'CL') {
|
||||
const beforStyle = window.getComputedStyle(node, 'before');
|
||||
const beforStyle = window.getComputedStyle(node, ':before');
|
||||
const style1 = {
|
||||
left: parseInt(beforStyle.getPropertyValue('left'), 10),
|
||||
top: parseInt(beforStyle.getPropertyValue('top'), 10),
|
||||
|
||||
Reference in New Issue
Block a user