Merge branch 'patch-1' of https://github.com/eugenb1/jquery-mobile into eugenb1-patch-1

This commit is contained in:
John Bender 2011-12-06 15:18:07 -08:00
commit 9066a0b932

View file

@ -315,7 +315,7 @@ $.widget( "mobile.slider", $.mobile.widget, {
this.handle.attr( {
"aria-valuenow": cType === "input" ? newval : control.find( "option" ).eq( newval ).attr( "value" ),
"aria-valuetext": cType === "input" ? newval : control.find( "option" ).eq( newval ).getEncodedText(),
title: newval
title: cType === "input" ? newval : control.find( "option" ).eq( newval ).getEncodedText()
});
// add/remove classes for flip toggle switch