Skip to content

Commit

Permalink
remove prependLabels, phetsims/scenery#753
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 8, 2018
1 parent 7653b28 commit 2514c09
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion js/ohms-law/view/ControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ define( function( require ) {

// a11y - contain the sliders in a list
labelTagName: 'h3',
prependLabels: true,
tagName: 'ul',
labelContent: sliderControlsString,
descriptionContent: slidersDescriptionString
Expand Down
3 changes: 1 addition & 2 deletions js/ohms-law/view/FormulaNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ define( function( require ) {
labelContent: ohmsLawEquationString,
descriptionContent: ohmsLawDefinitionString,
tagName: 'div',
labelTagName: 'h3',
prependLabels: true, // labels should come before other child content
labelTagName: 'h3', // labels should come before other child content
tandem: tandem
}, options );

Expand Down
3 changes: 1 addition & 2 deletions js/ohms-law/view/SliderUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ define( function( require ) {
accessibleDecimalPlaces: options.accessibleDecimalPlaces,
accessibleValuePattern: options.accessibleValuePattern,
containerTagName: 'li',
labelContent: labelContent,
prependLabels: true
labelContent: labelContent
} );

var symbolText = new Text( symbolString, {
Expand Down
3 changes: 1 addition & 2 deletions js/ohms-law/view/WireBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ define( function( require ) {
tagName: 'ul',
labelTagName: 'h3',
labelContent: circuitLabelString,
descriptionContent: circuitDescriptionString,
prependLabels: true
descriptionContent: circuitDescriptionString
} );
var self = this;

Expand Down

0 comments on commit 2514c09

Please sign in to comment.