Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-24 00:38:27 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-04-25 21:03:40 +0300
commit38634b4777bfcc9ab1755490c2ce168f130a0e4b (patch)
tree88d8b116d2284f77a1027003a108f5b5170537d2 /app/views/profiles
parente8faf9178aa853b8f58f6f5e3b417afcead0ce4c (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.erb3
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")) %>')