diff --git a/apps/spreadsheeteditor/mobile/app/controller/edit/EditText.js b/apps/spreadsheeteditor/mobile/app/controller/edit/EditText.js index fe79fa0b0..0b9dfd6b5 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/edit/EditText.js +++ b/apps/spreadsheeteditor/mobile/app/controller/edit/EditText.js @@ -151,8 +151,7 @@ define([ var color = _fontInfo.asc_getColor(), clr = me._sdkToThemeColor(color); - $('#text-color .color-preview').css('background-color', '#' + (_.isObject(clr) ? clr.color : clr)); - + $('#font-color .color-preview').css('background-color', '#' + (_.isObject(clr) ? clr.color : clr)); // Align $('#edit-text-align-block').css('display', (_textIn == TextType.inShape) ? 'block' : 'none'); @@ -279,7 +278,7 @@ define([ onTextColor:function (palette, color) { this.api.asc_setCellTextColor(Common.Utils.ThemeColor.getRgbColor(color)); - $('#text-color .color-preview').css('background-color', '#' + (_.isObject(color) ? color.color : color)); + $('#font-color .color-preview').css('background-color', '#' + (_.isObject(color) ? color.color : color)); }, onHAlignChange: function (e) { diff --git a/apps/spreadsheeteditor/mobile/app/template/EditText.template b/apps/spreadsheeteditor/mobile/app/template/EditText.template index fb72eaccc..c324dfda5 100644 --- a/apps/spreadsheeteditor/mobile/app/template/EditText.template +++ b/apps/spreadsheeteditor/mobile/app/template/EditText.template @@ -24,7 +24,7 @@
  • - +
    <% if (!android) { %>
    <% } %>