diff --git a/js/wavepacket/view/WavePacketInfoDialog.js b/js/wavepacket/view/WavePacketInfoDialog.js index 60b2556e..23937b98 100644 --- a/js/wavepacket/view/WavePacketInfoDialog.js +++ b/js/wavepacket/view/WavePacketInfoDialog.js @@ -55,17 +55,7 @@ class WavePacketInfoDialog extends Dialog { StringUtils.fillIn( fourierMakingWavesStrings.symbolsDialog.x, { x: FMWSymbols.x } ) ]; - // RichText markup with one symbol's key per line - //REVIEW: const text = strings.join( '
' ) - let text = ''; - for ( let i = 0; i < strings.length; i++ ) { - text += strings[ i ]; - if ( i < strings.length - 1 ) { - text += '
'; - } - } - - const richText = new RichText( text, { + const richText = new RichText( strings.join( '
' ), { font: FMWConstants.EQUATION_FONT, leading: 11 } );