mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Fix code style and small cleanup
CURA-5676
This commit is contained in:
parent
c4afbe7a67
commit
98d8a3f3e3
@ -114,12 +114,9 @@ Item
|
||||
{
|
||||
if (details.website)
|
||||
{
|
||||
return "<a href=\""+details.website+"\">"+details.website+"</a>"
|
||||
}
|
||||
else
|
||||
{
|
||||
return ""
|
||||
return "<a href=\"" + details.website + "\">" + details.website + "</a>"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
font: UM.Theme.getFont("very_small")
|
||||
color: UM.Theme.getColor("text")
|
||||
@ -133,12 +130,9 @@ Item
|
||||
{
|
||||
if (details.email)
|
||||
{
|
||||
return "<a href=\"mailto:"+details.email+"\">"+details.email+"</a>"
|
||||
}
|
||||
else
|
||||
{
|
||||
return ""
|
||||
return "<a href=\"mailto:" + details.email + "\">" + details.email + "</a>"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
font: UM.Theme.getFont("very_small")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
Loading…
x
Reference in New Issue
Block a user