From 490723b40606f2d51154fdc4984a13d19df89b93 Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Wed, 29 Jan 2020 10:14:25 +0000 Subject: [PATCH] [FIX] website: keep same spaces between carousel indicators links Before that the space between the first two links was more spaced than the others. Part of https://github.com/odoo/odoo/pull/44180 task-2162952 X-original-commit: baeb08da7a32b5c185c358ec6820f8a66c6edb4f --- addons/website/static/src/js/editor/snippets.options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/static/src/js/editor/snippets.options.js b/addons/website/static/src/js/editor/snippets.options.js index 177f3dcc925..5ab0769e47b 100644 --- a/addons/website/static/src/js/editor/snippets.options.js +++ b/addons/website/static/src/js/editor/snippets.options.js @@ -1029,6 +1029,7 @@ options.registry.CarouselItem = options.Class.extend({ 'data-target': '#' + this.$target.attr('id'), 'data-slide-to': $items.length, })); + this.$indicators.append(' '); // Need to remove editor data from the clone so it gets its own. const $active = $items.filter('.active'); $active.clone(false)