From 6b2250b2d24e15a730ca9a16ec92086abde576a9 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Thu, 15 Oct 2015 10:12:19 +0200 Subject: [PATCH] [FIX] mail: font-family of notification counter in systray On firefox, the font-family of the counter was font-awesome instead of Roboto because the counter was inside the tag on which font-awesome rules applied. This rev. simply moves the counter out of that tag. --- addons/mail/static/src/js/systray.js | 2 +- addons/mail/static/src/xml/systray.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/static/src/js/systray.js b/addons/mail/static/src/js/systray.js index 8deb1ac24a0..83ac8cb3dd7 100644 --- a/addons/mail/static/src/js/systray.js +++ b/addons/mail/static/src/js/systray.js @@ -36,7 +36,7 @@ var NotificationTopButton = Widget.extend({ return this._super(); }, update_counter: function (counter) { - this.$('.fa-comment').html(counter); + this.$('.o_notification_counter').html(counter); }, on_click: function (event) { var self = this; diff --git a/addons/mail/static/src/xml/systray.xml b/addons/mail/static/src/xml/systray.xml index 5f355d88969..58a735e80c5 100644 --- a/addons/mail/static/src/xml/systray.xml +++ b/addons/mail/static/src/xml/systray.xml @@ -11,7 +11,7 @@
  • - +