mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
dialog: fixed dragStop test (was using dragStart instead of dragStop, copy&paste FTF)
This commit is contained in:
parent
fde0b18eea
commit
219c81a208
@ -86,7 +86,7 @@ test("dragStop", function() {
|
|||||||
expect(7);
|
expect(7);
|
||||||
|
|
||||||
el = $('<div></div>').dialog({
|
el = $('<div></div>').dialog({
|
||||||
dragStart: function(ev, ui) {
|
dragStop: function(ev, ui) {
|
||||||
ok(true, 'dragging fires dragStop callback');
|
ok(true, 'dragging fires dragStop callback');
|
||||||
equals(this, el[0], "context of callback");
|
equals(this, el[0], "context of callback");
|
||||||
equals(ev.type, 'dialogdragstop', 'event type in callback');
|
equals(ev.type, 'dialogdragstop', 'event type in callback');
|
||||||
|
Loading…
Reference in New Issue
Block a user