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

Commit 2adfab9

Browse files
author
Alexander Schmitz
committed
slider: fix incorrect variable name which caused error in firefox
1 parent 391fa98 commit 2adfab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/forms/slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ $.widget( "mobile.slider", $.mobile.widget, {
483483
valueChanged = control[ 0 ].selectedIndex !== newval;
484484
control[ 0 ].selectedIndex = newval;
485485
}
486-
if ( this._trigger( "beforechange", event ) === false) {
486+
if ( this._trigger( "beforechange", val ) === false) {
487487
return false;
488488
}
489489
if ( !isfromControl && valueChanged ) {

0 commit comments

Comments
 (0)