mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Slider: Remove core event/alias and deprecated module dependencies
This commit is contained in:
parent
cdbce0c724
commit
dcd3cd516c
@ -22,7 +22,7 @@
|
||||
select[ 0 ].selectedIndex = ui.value - 1;
|
||||
}
|
||||
});
|
||||
$( "#minbeds" ).change(function() {
|
||||
$( "#minbeds" ).on( "change", function() {
|
||||
slider.slider( "value", this.selectedIndex + 1 );
|
||||
});
|
||||
});
|
||||
|
@ -16,7 +16,7 @@ test( "disabled", function( assert ){
|
||||
var count = 0;
|
||||
|
||||
element = $( "#slider1" ).slider();
|
||||
element.bind( "slidestart", function() {
|
||||
element.on( "slidestart", function() {
|
||||
count++;
|
||||
});
|
||||
|
||||
|
@ -214,7 +214,7 @@ return $.widget( "ui.slider", $.ui.mouse, {
|
||||
this._handleIndex = index;
|
||||
|
||||
this._addClass( closestHandle, null, "ui-state-active" );
|
||||
closestHandle.focus();
|
||||
closestHandle.trigger( "focus" );
|
||||
|
||||
offset = closestHandle.offset();
|
||||
mouseOverHandle = !$( event.target ).parents().addBack().is( ".ui-slider-handle" );
|
||||
|
Loading…
Reference in New Issue
Block a user