diff --git a/addons/website/static/src/snippets/s_facebook_page/000.js b/addons/website/static/src/snippets/s_facebook_page/000.js index 64926fe0b4d..213da31669c 100644 --- a/addons/website/static/src/snippets/s_facebook_page/000.js +++ b/addons/website/static/src/snippets/s_facebook_page/000.js @@ -16,7 +16,7 @@ const FacebookPageWidget = publicWidget.Widget.extend({ this.options.wysiwyg && this.options.wysiwyg.odooEditor.observerUnactive(); - var params = _.pick(this.$el[0].dataset, 'href', 'height', 'tabs', 'small_header', 'hide_cover', 'show_facepile'); + var params = _.pick(this.$el[0].dataset, 'href', 'height', 'tabs', 'small_header', 'hide_cover'); if (!params.href) { return def; } diff --git a/addons/website/static/src/snippets/s_facebook_page/options.js b/addons/website/static/src/snippets/s_facebook_page/options.js index 735bfbabf80..040d925d627 100644 --- a/addons/website/static/src/snippets/s_facebook_page/options.js +++ b/addons/website/static/src/snippets/s_facebook_page/options.js @@ -19,7 +19,6 @@ options.registry.facebookPage = options.Class.extend({ tabs: '', small_header: true, hide_cover: true, - show_facepile: false, }; this.fbData = _.defaults(_.pick(this.$target[0].dataset, _.keys(defaults)), defaults); @@ -101,9 +100,9 @@ options.registry.facebookPage = options.Class.extend({ if (this.fbData.tabs) { this.fbData.height = this.fbData.tabs === 'events' ? 300 : 500; } else if (this.fbData.small_header) { - this.fbData.height = this.fbData.show_facepile ? 165 : 70; + this.fbData.height = 70; } else { - this.fbData.height = this.fbData.show_facepile ? 225 : 150; + this.fbData.height = 150; } _.each(this.fbData, (value, key) => { this.$target[0].dataset[key] = value; diff --git a/addons/website/views/snippets/s_facebook_page.xml b/addons/website/views/snippets/s_facebook_page.xml index 9021cb42ef3..152b5cb9a49 100644 --- a/addons/website/views/snippets/s_facebook_page.xml +++ b/addons/website/views/snippets/s_facebook_page.xml @@ -16,7 +16,6 @@ -