Skip to content

Commit

Permalink
PhET-iO instrumentation of RegionAndCulturePortrayal should be same a…
Browse files Browse the repository at this point in the history
…s query parameter, and create type RegionAndCultureID, phetsims/joist#949
  • Loading branch information
zepumph committed Jan 29, 2024
1 parent 7fde73c commit 5c559b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/initialize-globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,7 @@
public: true,
type: 'string',
validValues: packageSimFeatures.supportedRegionsAndCultures || [ null ],
defaultValue: packageSimFeatures.supportedRegionsAndCultures &&
packageSimFeatures.supportedRegionsAndCultures[ 0 ] ?
defaultValue: packageSimFeatures.supportedRegionsAndCultures?.[ 0 ] ?
packageSimFeatures.supportedRegionsAndCultures[ 0 ] : null
},

Expand Down

0 comments on commit 5c559b5

Please sign in to comment.