There's no longer a reason to re-render the header on Design updates

This commit is contained in:
Robert Speicher 2015-04-23 17:38:27 -04:00
parent e8faf9178a
commit 38634b4777

View file

@ -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")) %>')