Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 10 lines (7 sloc) 0.405 kb
1 2 3 4 5 6 7 8 9
// 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 %>')

// Re-render the header to reflect the new theme
$('header').html('<%= escape_javascript(render("layouts/head_panel", title: "Profile")) %>')

// Re-initialize header tooltips
$('.has_bottom_tooltip').tooltip({placement: 'bottom'})
Something went wrong with that request. Please try again.