diff options
Diffstat (limited to 'app/views/profiles/preferences/update.js.erb')
-rw-r--r-- | app/views/profiles/preferences/update.js.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/profiles/preferences/update.js.erb b/app/views/profiles/preferences/update.js.erb index 70b786d12ed..db37619136d 100644 --- a/app/views/profiles/preferences/update.js.erb +++ b/app/views/profiles/preferences/update.js.erb @@ -1 +1,3 @@ -// TODO +// Remove body class for any previous theme, re-add current one +$('body').removeClass('<%= Gitlab::Theme.body_classes %>') +$('body').addClass('<%= app_theme %> <%= theme_type %>') |