Fixed not clearing font color ('defaul') bug 89700, r=akkana, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-07-10 23:57:04 +00:00
Родитель 449476cffa
Коммит 2a81718082
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -950,7 +950,10 @@ function EditorSelectColor(colorType, mouseEvent)
{
if (currentColor != gColorObj.TextColor)
{
if (gColorObj.TextColor)
window.editorShell.SetTextProperty("font", "color", gColorObj.TextColor);
else
window.editorShell.RemoveTextProperty("font", "color");
}
// Update the command state (this will trigger color button update)
goUpdateCommand("cmd_fontColor");