diff options
Diffstat (limited to 'addons/website/static/src/js/website.snippets.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.snippets.editor.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index 8afcab6b506..6bf0e805fec 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -147,7 +147,10 @@ options.registry.carousel = options.registry.slider.extend({ this.$target.on('slid.bs.carousel', function () { if(self.editor && self.editor.styles.background) { self.editor.styles.background.$target = self.$target.find(".item.active"); + self.editor.styles.background_position.$target = self.editor.styles.background.$target; self.editor.styles.background.set_active(); + self.editor.styles.background_position.set_active(); + self.editor.styles.background.$target.trigger("snippet-option-change", [self.editor.styles.background]); } self.$target.carousel("pause"); }); |
