Merge pull request #3961 from riadvice/2x-ui-improve
Fix checking branding options
This commit is contained in:
commit
4dda35a3e3
@ -375,18 +375,18 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
var config:Config = BBB.getConfigManager().config;
|
||||
shortcutKeysBtn.includeInLayout = shortcutKeysBtn.visible = config.shortcutKeys.showButton;
|
||||
|
||||
if (config.branding.logo == "") {
|
||||
if (config.branding.logo.toString() == "") {
|
||||
hideLogo();
|
||||
} else {
|
||||
logo.source = config.branding.logo;
|
||||
}
|
||||
|
||||
if (config.branding.toolbarColor != "") {
|
||||
if (config.branding.toolbarColor.toString() != "") {
|
||||
setStyle("backgroundColor", config.branding.toolbarColor);
|
||||
}
|
||||
|
||||
if (config.branding.toolbarColorAlphas != "") {
|
||||
setStyle("highlightAlphas", config.branding.toolbarColorAlphas.split(","));
|
||||
setStyle("highlightAlphas", config.branding.toolbarColorAlphas.toString().split(","));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user