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

Commit

Permalink
slider: fix incorrect variable name which caused error in firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Schmitz committed Dec 27, 2012
1 parent 391fa98 commit 2adfab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/forms/slider.js
Expand Up @@ -483,7 +483,7 @@ $.widget( "mobile.slider", $.mobile.widget, {
valueChanged = control[ 0 ].selectedIndex !== newval;
control[ 0 ].selectedIndex = newval;
}
if ( this._trigger( "beforechange", event ) === false) {
if ( this._trigger( "beforechange", val ) === false) {
return false;
}
if ( !isfromControl && valueChanged ) {
Expand Down

0 comments on commit 2adfab9

Please sign in to comment.