Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fixed typos in rangeslider.js comments
Browse files Browse the repository at this point in the history
  • Loading branch information
agcolom committed Mar 20, 2013
1 parent e7b15e3 commit 2a44f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/widgets/forms/rangeslider.js
Expand Up @@ -81,7 +81,7 @@ define( [ "jquery", "../../jquery.mobile.core", "../../jquery.mobile.widget", ".
otherSlider = ( first ) ? this._inputLast : this._inputFirst;

this._sliderTarget = false;
//if the drag was initaed on an extream and the other handle is focused send the events to
//if the drag was initiated on an extreme and the other handle is focused send the events to
//the closest handle
if ( ( this._proxy === "first" && first ) || ( this._proxy === "last" && !first ) ) {
$.data( otherSlider.get(0), "mobileSlider" ).dragging = true;
Expand Down Expand Up @@ -145,7 +145,7 @@ define( [ "jquery", "../../jquery.mobile.core", "../../jquery.mobile.widget", ".
thisSlider.val( first ? max: min ).slider( "refresh" );
this._trigger( "normalize" );
} else if ( min > max ) {
//this makes it so clicks on the target on either extream go to the closest handle
//this makes it so clicks on the target on either extreme go to the closest handle
thisSlider.val( this._targetVal ).slider( "refresh" );

var self = this;
Expand Down

0 comments on commit 2a44f5c

Please sign in to comment.