diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-05-17 09:59:53 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-05-17 10:00:11 +0200 |
| commit | 5f17daae4069fca9d65d35c74cac548c48a17d59 (patch) | |
| tree | f863d478169e9ed339f34385e5b2c3d2820207c9 /addons/website/static/src | |
| parent | 587357432e13bf80f341ca33cc798b633b2208c5 (diff) | |
| parent | daf9763e6ecbaadb8f92b14fd2fadc310c54c690 (diff) | |
[MERGE] forward report branch 11.0 up to daf9763e6ec
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/content/snippets.animation.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website/static/src/js/content/snippets.animation.js b/addons/website/static/src/js/content/snippets.animation.js index e28e1e0d14f..c9e28c31d6a 100644 --- a/addons/website/static/src/js/content/snippets.animation.js +++ b/addons/website/static/src/js/content/snippets.animation.js @@ -825,6 +825,10 @@ registry.gallerySlider = Animation.extend({ destroy: function () { this._super.apply(this, arguments); + if (!this.$indicator) { + return; + } + this.$prev.prependTo(this.$indicator); this.$next.appendTo(this.$indicator); this.$carousel.off('.gallery_slider'); |
