Skip to content
Snippets Groups Projects
Commit eaf2e1fd authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #5982 from RocketChat/custom-css-fix

Fix for the custom css issue
parents 94c244a3 7047ec6d
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ RocketChat.theme = new class
RocketChat.settings.get '*', Meteor.bindEnvironment (key, value, initialLoad) =>
if key is 'theme-custom-css'
if value?.trim() isnt ''
if value?
@customCSS = value
else if /^theme-.+/.test(key) is true
name = key.replace /^theme-[a-z]+-/, ''
......
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