mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 07:11:22 -07:00
Use === to compare strings in JavaScript
This commit is contained in:
parent
2cbdc49539
commit
f3ea522811
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue