Skip to content

Commit

Permalink
Fix 'overspill' of js
Browse files Browse the repository at this point in the history
  • Loading branch information
ellbristow committed Jan 14, 2025
1 parent b481ecc commit 2a96096
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ patch(FormCompiler.prototype, {
},
compileForm(el, params) {
const form = super.compileForm(el, params);
if (odoo.web_chatter_position === "sided") {
const sheet = form.querySelector(".o_form_sheet_bg");
if (sheet && odoo.web_chatter_position === "sided") {
setAttributes(form, {
"t-attf-class": "",
class: "d-flex d-print-block flex-nowrap h-100",
Expand Down

0 comments on commit 2a96096

Please sign in to comment.