summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-06-25 15:11:54 +0000
committerqsm-odoo <qsm@odoo.com>2020-06-25 23:03:49 +0000
commit8e5caea148f0e06829f7130ff081f34112d9a14b (patch)
tree60efe2146bbd7f8eb93fecdfe208f3089e60fe4f /addons/mail/static/src
parentba866784378dfe46c830b9e105eb078acce4a149 (diff)
[FIX] website: properly set $component-active-color
The global variable was declared inside a 'if', making it non-global and thus without any effect. 3 solutions to keep it working with the !default flag: - Declare it first outside the if with `null !default` - Declare it inside the 'if' with `null !global !default` - Use a one-line 'if' *function* to declare it I chose the third solution as the first one is too verbose and not a fan of the !global syntax (which could break if bootstrap was imported inside another 'if' I guess). closes odoo/odoo#53702 X-original-commit: 96921325b6e6b309996b98c849ba49124d76ab38 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/mail/static/src')
0 files changed, 0 insertions, 0 deletions