From 7a12d8c3906c0de3f29a6a0a07b958e883c8b22d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 30 Nov 2016 15:44:46 +0300 Subject: [PATCH] [mobile] Bug with theme color component (when color contains only digits). --- apps/common/mobile/lib/component/ThemeColorPalette.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/component/ThemeColorPalette.js b/apps/common/mobile/lib/component/ThemeColorPalette.js index cbf243618..9b4070bd4 100644 --- a/apps/common/mobile/lib/component/ThemeColorPalette.js +++ b/apps/common/mobile/lib/component/ThemeColorPalette.js @@ -155,7 +155,7 @@ define([ el.find('.color-palette a').removeClass('active'); $target.addClass('active'); - var color = $target.data('color'), + var color = $target.data('color').toString(), effectId = $target.data('effectid'); me.currentColor = color;