Fix incorrect style when AddUrl is passed null

This commit is contained in:
Troy Stanger 2018-11-07 10:41:29 -06:00
parent 7d1cf22fb6
commit 0d316279ec
1 changed files with 2 additions and 0 deletions

View File

@ -432,6 +432,8 @@ namespace Ooui
}
static string AddUrl(object val)
{
if (val == null)
return null;
return String.Format("url('{0}')", val);
}