From ef26a0f59c9b9f69d9e5407b46bc6fbe63d50d9f Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Fri, 6 Nov 2015 16:08:32 +0200 Subject: [PATCH] converter fixed --- ui/styling/converters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/styling/converters.ts b/ui/styling/converters.ts index b949c15d8..7b4eb4cb2 100644 --- a/ui/styling/converters.ts +++ b/ui/styling/converters.ts @@ -25,7 +25,7 @@ export function textAlignConverter(value: string): string { export function textDecorationConverter(value: string): string { var values = (value + "").split(" "); - if (values.indexOf(enums.TextDecoration.underline) !== -1 || values.indexOf(enums.TextDecoration.lineThrough) !== -1) { + if (values.indexOf(enums.TextDecoration.none) !== -1 || values.indexOf(enums.TextDecoration.underline) !== -1 || values.indexOf(enums.TextDecoration.lineThrough) !== -1) { return value; } else { throw new Error("CSS text-decoration \"" + value + "\" is not supported.");