summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-01-29 10:14:25 +0000
committerqsm-odoo <qsm@odoo.com>2020-03-12 15:00:38 +0000
commit490723b40606f2d51154fdc4984a13d19df89b93 (patch)
tree81c56c7e03f00efff5d1315a8c0f2301273f6702 /addons/website/static/src
parentb339310d31c78b6282a797cd515cba29ee95db73 (diff)
[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
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/js/editor/snippets.options.js1
1 files changed, 1 insertions, 0 deletions
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)