diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-10-29 11:56:32 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-10-29 11:56:32 +0100 |
| commit | a299517f8327e9cd6036dbd0920ed5d3e9dac75a (patch) | |
| tree | fbca208c214184e94bfa6868982c9078736ff71d /addons/website/static/src/js | |
| parent | 62b6889fe14d6781b4ffddc8f5b0f8f6db16672c (diff) | |
| parent | 6136f0c02e5c15d245c2b19d990900314be8b8f4 (diff) | |
[MERGE] forward port branch saas-11.3 up to 6136f0c02e5
Diffstat (limited to 'addons/website/static/src/js')
| -rw-r--r-- | addons/website/static/src/js/editor/snippets.options.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/website/static/src/js/editor/snippets.options.js b/addons/website/static/src/js/editor/snippets.options.js index 0e8080299b5..1a20b68790b 100644 --- a/addons/website/static/src/js/editor/snippets.options.js +++ b/addons/website/static/src/js/editor/snippets.options.js @@ -248,8 +248,9 @@ options.registry.carousel = options.Class.extend({ * @override */ _setActive: function () { - this.$el.find('li[data-interval]').removeClass('active') - .filter('li[data-interval=' + this.$target.attr('data-interval') + ']').addClass('active'); + this._super.apply(this, arguments); + this.$el.find('[data-interval]').removeClass('active') + .filter('[data-interval=' + this.$target.attr('data-interval') + ']').addClass('active'); }, /** * Rebinds carousel events on indicators. |
