mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable tests: Don't use .on().
This commit is contained in:
parent
8b1b34c5c3
commit
57051e8a73
@ -60,7 +60,7 @@ TestHelpers.draggable = {
|
||||
|
||||
},
|
||||
trackMouseCss : function( el ) {
|
||||
el.on( "drag", function() {
|
||||
el.bind( "drag", function() {
|
||||
el.data( "last_dragged_cursor", $("body").css("cursor") );
|
||||
});
|
||||
},
|
||||
@ -69,7 +69,7 @@ TestHelpers.draggable = {
|
||||
// appendTo ignored without being clone
|
||||
el.draggable( "option", "helper", "clone" );
|
||||
|
||||
el.on( "drag", function(e,ui) {
|
||||
el.bind( "drag", function(e,ui) {
|
||||
// Get what parent is at time of drag
|
||||
el.data( "last_dragged_parent", ui.helper.parent()[0] );
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user