diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-24 00:38:27 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-25 21:03:40 +0300 |
commit | 38634b4777bfcc9ab1755490c2ce168f130a0e4b (patch) | |
tree | 88d8b116d2284f77a1027003a108f5b5170537d2 /app/views/profiles | |
parent | e8faf9178aa853b8f58f6f5e3b417afcead0ce4c (diff) |
There's no longer a reason to re-render the header on Design updates
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/update.js.erb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/views/profiles/update.js.erb b/app/views/profiles/update.js.erb index fc82b45a499..db37619136d 100644 --- a/app/views/profiles/update.js.erb +++ b/app/views/profiles/update.js.erb @@ -1,6 +1,3 @@ // Remove body class for any previous theme, re-add current one $('body').removeClass('<%= Gitlab::Theme.body_classes %>') $('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")) %>') |