From e87bac346de4ef05393474513b2e4c4ca4fb671a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 21 Oct 2020 12:47:11 +0300 Subject: [PATCH] Fix Bug 46996 --- 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 81476d4f6..6904ff935 100644 --- a/apps/common/mobile/lib/component/ThemeColorPalette.js +++ b/apps/common/mobile/lib/component/ThemeColorPalette.js @@ -214,7 +214,7 @@ define([ } if (/^[a-fA-F0-9]{6}|transparent$/.test(color) || _.indexOf(Common.Utils.ThemeColor.getStandartColors(), color) > -1 || _.indexOf(this.dynamicColors, color) > -1) { - el.find('.color-palette a[data-color=' + color + ']').first().addClass('active'); + el.find('.standart-colors a[data-color=' + color + '], .dynamic-colors a[data-color=' + color + ']').first().addClass('active'); } }