Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 21, 2020
1 parent c29f824 commit e12b7b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/selectScreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const selectScreens = ( allSimScreens,
const userIndex = screensQueryParameter[ i ];
const screenIndex = userIndex - 1; // screens query parameter uses 1-based indices, so convert to 0-based index

// add screen to selectedSimScreens if it's a valid index, otherwise error and revert to defaults
if ( screenIndex >= 0 && screenIndex < allSimScreens.length ) {

// index is valid, add screen
Expand Down

1 comment on commit e12b7b2

@pixelzoom
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.