mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
draggable unit tests: typo in 'addClasses: false' test
This commit is contained in:
parent
bff0f70e2c
commit
a5f6558a1d
@ -1,11 +1,7 @@
|
||||
/*
|
||||
* draggable unit tests
|
||||
* draggable_core.js
|
||||
*/
|
||||
|
||||
//
|
||||
// Draggable Test Helper Functions
|
||||
//
|
||||
|
||||
var el, offsetBefore, offsetAfter, dragged;
|
||||
|
||||
var drag = function(handle, dx, dy) {
|
||||
|
@ -32,7 +32,7 @@ test("{ addClasses: true }, default", function() {
|
||||
|
||||
test("{ addClasses: false }", function() {
|
||||
el = $("<div></div>").draggable({ addClasses: false });
|
||||
ok(!el.is(".ui.draggable"), "'ui-draggable' class not added");
|
||||
ok(!el.is(".ui-draggable"), "'ui-draggable' class not added");
|
||||
});
|
||||
|
||||
test("{ appendTo: 'parent' }, default", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user