From ade5802ed1ecabdc388c9838d23eec2a9c46e096 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <asaad@spinpunch.com>
Date: Thu, 19 Nov 2015 01:11:06 +0500
Subject: Posts structure improvement

---
 web/react/components/user_settings/custom_theme_chooser.jsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'web/react/components/user_settings/custom_theme_chooser.jsx')

diff --git a/web/react/components/user_settings/custom_theme_chooser.jsx b/web/react/components/user_settings/custom_theme_chooser.jsx
index 3dbed72c3..3d0a2b548 100644
--- a/web/react/components/user_settings/custom_theme_chooser.jsx
+++ b/web/react/components/user_settings/custom_theme_chooser.jsx
@@ -14,7 +14,10 @@ export default class CustomThemeChooser extends React.Component {
         this.state = {};
     }
     componentDidMount() {
-        $('.color-picker').colorpicker().on('changeColor', this.onPickerChange);
+        $('.color-picker').colorpicker({
+            format: 'hex'
+        });
+        $('.color-picker').on('changeColor', this.onPickerChange);
     }
     onPickerChange(e) {
         const theme = this.props.theme;
-- 
cgit v1.2.3-1-g7c22

