From e12b7b2f00fe9a1e540032e9d5ecb1b1f8664721 Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Tue, 21 Jul 2020 11:46:13 -0600 Subject: [PATCH] fix doc, https://github.com/phetsims/ph-scale/issues/171 --- js/selectScreens.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/selectScreens.js b/js/selectScreens.js index 825f5347..970304a9 100644 --- a/js/selectScreens.js +++ b/js/selectScreens.js @@ -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