Skip to content
Snippets Groups Projects
Unverified Commit c0b8fc30 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix loading color

parent 44ebe179
No related merge requests found
......@@ -56,11 +56,11 @@ RocketChat.settings.get('theme-color-primary-background-color', function(key, va
}
});
RocketChat.settings.get('theme-color-tertiary-font-color', function(key, value) {
RocketChat.settings.get('theme-color-tertiary-background-color', function(key, value) {
if (value) {
Inject.rawHead('theme-color-tertiary-font-color', `<style>.loading > div { background-color: ${value};}</style>`);
Inject.rawHead('theme-color-tertiary-background-color', `<style>.loading > div { background-color: ${value};}</style>`);
} else {
Inject.rawHead('theme-color-tertiary-font-color', '<style>.loading > div { background-color: #cccccc;}</style>');
Inject.rawHead('theme-color-tertiary-background-color', '<style>.loading > div { background-color: #cccccc;}</style>');
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment