mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Use === to compare strings in JavaScript
This commit is contained in:
parent
2cbdc49539
commit
f3ea522811
@ -70,7 +70,7 @@ Item
|
|||||||
// Remove the "user" setting to see if the rest of the stack prescribes a brim or a raft
|
// Remove the "user" setting to see if the rest of the stack prescribes a brim or a raft
|
||||||
platformAdhesionType.removeFromContainer(0)
|
platformAdhesionType.removeFromContainer(0)
|
||||||
adhesionType = platformAdhesionType.properties.value
|
adhesionType = platformAdhesionType.properties.value
|
||||||
if(adhesionType == "skirt" || adhesionType == "none")
|
if(adhesionType === "skirt" || adhesionType === "none")
|
||||||
{
|
{
|
||||||
// If the rest of the stack doesn't prescribe an adhesion-type, default to a brim
|
// If the rest of the stack doesn't prescribe an adhesion-type, default to a brim
|
||||||
adhesionType = "brim"
|
adhesionType = "brim"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user