Skip to content

Commit

Permalink
use || operator, not |
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Dec 12, 2024
1 parent 1b54b1c commit f37c00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aframe-streetmix-parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function getBikeLaneMixin(variant) {
}

function getBusLaneMixin(variant) {
if ((variant === 'colored') | (variant === 'red')) {
if (variant === 'colored' || variant === 'red') {
return 'surface-red bus-lane';
}
if (variant === 'blue') {
Expand Down

0 comments on commit f37c00b

Please sign in to comment.