summaryrefslogtreecommitdiff
path: root/app/views/profiles/preferences/update.js.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/preferences/update.js.erb')
-rw-r--r--app/views/profiles/preferences/update.js.erb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/profiles/preferences/update.js.erb b/app/views/profiles/preferences/update.js.erb
index 8966dd3fd86..431ab9d052b 100644
--- a/app/views/profiles/preferences/update.js.erb
+++ b/app/views/profiles/preferences/update.js.erb
@@ -1,7 +1,3 @@
-// Remove body class for any previous theme, re-add current one
-$('body').removeClass('<%= Gitlab::Themes.body_classes %>')
-$('body').addClass('<%= user_application_theme %>')
-
// Toggle container-fluid class
if ('<%= current_user.layout %>' === 'fluid') {
$('.content-wrapper .container-fluid').removeClass('container-limited')