diff options
author | Drew Blessing <drew.blessing@me.com> | 2014-12-15 04:01:59 +0300 |
---|---|---|
committer | Drew Blessing <drew.blessing@me.com> | 2014-12-15 22:21:26 +0300 |
commit | f06f69b9da81337db14324783b45ea5f55fcf735 (patch) | |
tree | daee94544fb570bc545a229725a0dc8d69bd22dc /app/views/profiles | |
parent | be206a514235fe1ca7f35cf018c44202a331cb87 (diff) |
Add theme type css class
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/update.js.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/update.js.erb b/app/views/profiles/update.js.erb index 04b5cf4827d..e664ac2a52a 100644 --- a/app/views/profiles/update.js.erb +++ b/app/views/profiles/update.js.erb @@ -1,6 +1,6 @@ // Remove body class for any previous theme, re-add current one -$('body').removeClass('ui_basic ui_mars ui_modern ui_gray ui_color') -$('body').addClass('<%= app_theme %>') +$('body').removeClass('ui_basic ui_mars ui_modern ui_gray ui_color light_theme dark_theme') +$('body').addClass('<%= app_theme %> <%= theme_type %>') // Re-render the header to reflect the new theme $('header').html('<%= escape_javascript(render("layouts/head_panel", title: "Profile")) %>') |