[FIX] web: typo: missing bracket
This fix an issue in the mobile app in iOS. Safari is less permissive and a blank page was shown. closes odoo/odoo#33498 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
@@ -134,7 +134,7 @@ var AbstractWebClient = Widget.extend(ServiceProviderMixin, KeyboardNavigationMi
|
||||
session.user_context.allowed_company_ids = stateCompanyIDS;
|
||||
$.bbq.pushState(state);
|
||||
// Update favicon
|
||||
$("link[type='image/x-icon'").attr('href', '/web/image/res.company/' + String(stateCompanyIDS[0]) + '/favicon/')
|
||||
$("link[type='image/x-icon']").attr('href', '/web/image/res.company/' + String(stateCompanyIDS[0]) + '/favicon/')
|
||||
|
||||
return session.is_bound
|
||||
.then(function () {
|
||||
|
||||
Reference in New Issue
Block a user