Skip to content

Commit ad887d3

Browse files
awood0727np158kaybcodesSilasVM
committed
Replaced redudant else if statement with else statement
Signed-off-by: Amante' Woodley <[email protected]> Co-authored-by: Nia Perez <[email protected]> Co-authored-by: Kayla Bobo <[email protected]> Co-authored-by: Silas Morgan <[email protected]>
1 parent bde84ea commit ad887d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/accessibility/outputs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ p5.prototype._accsOutput = function(f, args) {
492492
if (!this.ingredients.shapes[f]) {
493493
this.ingredients.shapes[f] = [include];
494494
//if other shapes of this type have been created
495-
} else if (this.ingredients.shapes[f] !== [include]) {
495+
} else{
496496
//for every shape of this type
497497
for (let y in this.ingredients.shapes[f]) {
498498
//compare it with current shape and if it already exists make add false

0 commit comments

Comments
 (0)