[FIX] website: o_cp_top_left class doesn't exist on mobile
Before this commit, the selector 'o_cp_top_left' was used to target a descendent element. The 'o_cp_top_left' class was added in this commit odoo/odoo@533db5991a5bb871198485cd71a63f75a8c6becf But 'o_cp_top_left' class is only available on desktop. On mobile the layout of the control panel is different. This produce a bug on Mobile. After this commit, we use a less restrictive querySelector to match the element in mobile too. Note: we remove the 'div' for clarity/consistency Steps to reproduce: * Open Odoo in "Mobile mode" (small screen) * Go to Apps * Install a module that need website or website it self * You are redirect to the "chose theme" => Bug closes odoo/odoo#66870 X-original-commit: 3d401a30 Signed-off-by:Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by:
rfr-odoo <rfr-odoo@users.noreply.github.com>
Please register or sign in to comment