EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
ref
Yuri Kuznetsovcce73a8c32cb
diff --git a/client/src/app.js b/client/src/app.jsindex 76480a2f4a..b995688845 100644--- a/client/src/app.js+++ b/client/src/app.js@@ -1009,9 +1009,15 @@ class App {return;}- const stylesheetPath = this.basePath + this.themeManager.getStylesheet();+ const path = this.basePath + this.themeManager.getStylesheet();- $('#main-stylesheet').attr('href', stylesheetPath);+ const element = document.querySelector('#main-stylesheet');++ if (!element) {+ return;+ }++ element.setAttribute('href', path);}/**