From 27bd23ca5cf06f52d327bf3aafe989706a6ea202 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 25 Sep 2014 13:01:26 -0400 Subject: [PATCH] more branding stuff --- public/src/forum/admin/themes.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.js index f75153119d..4fe5f88838 100644 --- a/public/src/forum/admin/themes.js +++ b/public/src/forum/admin/themes.js @@ -117,8 +117,6 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) { Themes.prepareWidgets(); - populateBranding(); - admin.enableColorPicker($('.branding')); Settings.prepare(); }; @@ -316,21 +314,5 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) { }); }; - function populateBranding() { - require(['settings'], function (settings) { - var wrapper = $('#branding'); - - settings.sync('branding', wrapper); - - $('#save-branding').click(function(event) { - settings.persist('branding', $('#branding'), function() { - socket.emit('admin.themes.updateBranding'); - }); - - event.preventDefault(); - }); - }); - } - return Themes; });