Permalink
Browse files

slider: fix incorrect variable name which caused error in firefox

  • Loading branch information...
Alexander Schmitz
Alexander Schmitz committed Dec 27, 2012
1 parent 391fa98 commit 2adfab9c990493819005d3f5d1045ad926e11def
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/slider.js
@@ -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 ) {

0 comments on commit 2adfab9

Please sign in to comment.