support user customized value(previously supported on/off only)
Change-Id: Id6933471e716524f04528062eff82f29ec9da9b4
- });
+ if ( imgToggle ) {
+ appHandle = $( this.handle ).parents( ".ui-slider" );
-+ if ( $( this.handle ).attr("aria-valuenow") === "on" ) {
++ if ( $( this.handle ).attr("aria-valuenow") === "on" || $( this.handle ).attr("aria-valuenow") === $( this.element ).children( "option:last" ).attr( "value" ) ) {
+ appHandle.children( "span.ui-slider-label-a" ).show();
+ appHandle.children( "span.ui-slider-label-b" ).hide();
+ } else {