diff options
| author | Benjamin Vray <bvr@odoo.com> | 2020-02-03 10:32:34 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-03-25 15:12:29 +0000 |
| commit | 95f30739a88a5b4d76444ff42047266a1aa0e8e7 (patch) | |
| tree | 30eaf8d5a4c4ddf8a7fee6c65a8f31ec7c5a0aa9 /addons/website/static/src | |
| parent | e4ebd3e6e3223df2c75ce26beb98b829b5442f7d (diff) | |
[FIX] website: keep images order in gallery snippet with masonry mode
Keep the same images order as the other modes in the gallery snippet
with masonry mode. Before this commit, the images order was reversed
with masonry mode.
task-2162952
closes odoo/odoo#44486
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/snippets/s_image_gallery/options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/snippets/s_image_gallery/options.js b/addons/website/static/src/snippets/s_image_gallery/options.js index 22e84298c20..ba46b697891 100644 --- a/addons/website/static/src/snippets/s_image_gallery/options.js +++ b/addons/website/static/src/snippets/s_image_gallery/options.js @@ -194,7 +194,7 @@ options.registry.gallery = options.Class.extend({ $lowest = $col; } }); - $lowest.append(imgs.pop()); + $lowest.append(imgs.shift()); } }, /** |
