[FIX] website_blog: do not preview "number of blog posts" options

Only re-render with the chosen number on click, not on hover.

Part of https://github.com/odoo/odoo/pull/36803
task-2070930
This commit is contained in:
qsm-odoo
2019-09-12 16:22:56 +00:00
parent 74c54405ef
commit de97b1ca42
+1 -1
View File
@@ -88,7 +88,7 @@
<div data-js="js_get_posts_limit" data-selector=".s_latest_posts, .s_latest_posts_big_picture" data-target=".js_get_posts" data-no-check="true">
<we-collapse-area>
<we-toggler><i class="fa fa-sort-numeric-asc"/> Posts limit</we-toggler>
<we-collapse>
<we-collapse data-no-preview="true">
<we-button data-posts-limit="1">1 post max</we-button>
<we-button data-posts-limit="2">2 posts max</we-button>
<we-button data-posts-limit="3">3 posts max</we-button>