odoo/odoo#98106

Created by Website, Guillaume Dieleman (gdi)
Closed
label
odoo-dev:master-fix-facebook-block-height-gdi
head
131aa7f7180a8d5cff0e2f7c38f9eab5610dd0b6
target
master

[FIX] website: fix height of facebook block

Since [this commit], the values of the data attributes of the facebook
block are no longer read with JQuerry so that when the block has a
`data-x="false"` it is now interpreted in javascript as a character
string containing the word "false" and not as a boolean This caused
errors in the height of the block on the page.

Steps to reproduce the bug:
- drop a snippet
- drop a Facebook snippet in it
- grab it and move it somewhere else

=> the height of the block is too high.

[this commit]: https://github.com/odoo/odoo/commit/03c552690b15cbf2e7d6b7812386ac64042219af

task-2950329
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr