summaryrefslogtreecommitdiff
path: root/addons/website_forum/static/src/js/website_forum.js
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-08-12 07:18:23 +0000
committerYannick Tivisse <yti@odoo.com>2019-11-28 10:05:12 +0000
commitff1c35513aecef5fbc30f7c2f3834450e719714e (patch)
tree8149f14df17095845e735d6cccaf9317a1f97af6 /addons/website_forum/static/src/js/website_forum.js
parent4c030311ada2ad19a2ee81b15544b7aed35b642b (diff)
[IMP] web: update to fontawesome 4.7.0 to 5.11.2
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/website_forum/static/src/js/website_forum.js')
-rw-r--r--addons/website_forum/static/src/js/website_forum.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_forum/static/src/js/website_forum.js b/addons/website_forum/static/src/js/website_forum.js
index 5b22fa03c01..88223a5b6dc 100644
--- a/addons/website_forum/static/src/js/website_forum.js
+++ b/addons/website_forum/static/src/js/website_forum.js
@@ -394,8 +394,8 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({
this._rpc({
route: $link.data('href'),
}).then(function (data) {
- $link.toggleClass('o_wforum_gold fa-star', data)
- .toggleClass('fa-star-o text-muted', !data);
+ $link.toggleClass('o_wforum_gold fas fa-star', data)
+ .toggleClass('far fa-star text-muted', !data);
});
},
/**