There's no longer a reason to re-render the header on Design updates
This commit is contained in:
parent
e8faf9178a
commit
38634b4777
1 changed files with 0 additions and 3 deletions
|
@ -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")) %>')
|
||||
|
|
Loading…
Reference in a new issue