Skip to content

Commit

Permalink
Null comparison corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
BT-jmontero authored Jul 24, 2023
1 parent 5541b7a commit 1cb3b17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ patch(FormCompiler.prototype, "web_chatter_position", {
chatterContainerHookXml.setAttribute("t-if", false);
} else {
const formSheetBgXml = res.querySelector(".o_form_sheet_bg");
if (formSheetBgXml != null) {
if (formSheetBgXml !== null) {
const sheetBgChatterContainerHookXml =
chatterContainerHookXml.cloneNode(true);
sheetBgChatterContainerHookXml.classList.add("o-isInFormSheetBg");
Expand Down

0 comments on commit 1cb3b17

Please sign in to comment.