diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-05-03 18:47:49 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-05-03 18:47:49 +0200 |
| commit | 04acf0cc7ccd4ff500cac6187c6be3f28f272fd2 (patch) | |
| tree | ff659994848ebdef19010bb72d74801ac50c9a07 /addons/website/static/src | |
| parent | 8d9c054842b5fbaa205c7658c25cf66320b8e197 (diff) | |
| parent | 2420492c26410c2d01cd18bacbbf2fb2d76f7f80 (diff) | |
[MERGE] forward port branch saas-12.1 up to 2420492c264
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/content/snippets.animation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/content/snippets.animation.js b/addons/website/static/src/js/content/snippets.animation.js index 2c322012d1c..7c79b2382ca 100644 --- a/addons/website/static/src/js/content/snippets.animation.js +++ b/addons/website/static/src/js/content/snippets.animation.js @@ -1051,7 +1051,7 @@ registry.facebookPage = Animation.extend({ if (!params.href) { return def; } - params.width = utils.confine(this.$el.width(), 180, 500); + params.width = utils.confine(Math.floor(this.$el.width()), 180, 500); var src = $.param.querystring('https://www.facebook.com/plugins/page.php', params); this.$iframe = $('<iframe/>', { |
