Remove the background color from the text-color button in the slide app

pull/1/head
yflory 8 years ago
parent 7e69d051c4
commit 4ab82710ab

@ -195,7 +195,7 @@ define([
if (back) { if (back) {
backColor = back; backColor = back;
$modal.css('background-color', back); $modal.css('background-color', back);
$pad.contents().find('#' + SLIDE_COLOR_ID).css('background', back); //$pad.contents().find('#' + SLIDE_COLOR_ID).css('background', back);
$pad.contents().find('#' + SLIDE_BACKCOLOR_ID).css('color', back); $pad.contents().find('#' + SLIDE_BACKCOLOR_ID).css('color', back);
} }
}; };
@ -498,7 +498,7 @@ define([
var $text = $('<button>', { var $text = $('<button>', {
id: SLIDE_COLOR_ID, id: SLIDE_COLOR_ID,
'class': 'fa fa-i-cursor rightside-button', 'class': 'fa fa-i-cursor rightside-button',
'style': 'font-family: FontAwesome; font-weight: bold; color: #fff; background: #000;', 'style': 'font-family: FontAwesome; font-weight: bold; color: #fff;',
title: Messages.colorButtonTitle title: Messages.colorButtonTitle
}); });
var $testColor = $('<input>', { type: 'color', value: '!' }); var $testColor = $('<input>', { type: 'color', value: '!' });

Loading…
Cancel
Save