Skip to content

Commit

Permalink
rename var, #748 #752
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 31, 2018
1 parent 90be794 commit 43ec854
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/accessibility/AccessiblePeer.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ define( function( require ) {
if ( this.containerParent ) {

// The first child of the container parent element should be the peer dom element
// if undefined, the insertBefore method will insert the peerDOMElement as the first child
var peerDOMElement = this.primarySibling;
// if undefined, the insertBefore method will insert the primarySiblingDOMElement as the first child
var primarySiblingDOMElement = this.primarySibling;
var firstChild = this.containerParent.children[ 0 ];
this.containerParent.insertBefore( peerDOMElement, firstChild );
this.containerParent.insertBefore( primarySiblingDOMElement, firstChild );
}

this.disposed = false;
Expand Down

0 comments on commit 43ec854

Please sign in to comment.