Skip to content
Permalink
Browse files

Draggable Tests: Fix containment tests

  • Loading branch information
mikesherov committed Mar 4, 2013
1 parent 5a04d23 commit ca0b4b8a6c6a687866ea27a992570648e9295721
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/draggable/draggable_options.js
@@ -301,7 +301,7 @@ test( "{ containment: [x1, y1, x2, y2] }", function() {
var element = $( "#draggable1" ).draggable(),
eo = element.offset();

element.draggable( "option", "containment", [ eo.left, eo.top, eo.left + element.width() + 5, eo.left + element.width() + 5 ] );
element.draggable( "option", "containment", [ eo.left, eo.top, eo.left + element.width() + 5, eo.top + element.height() + 5 ] );

TestHelpers.draggable.testDrag( element, element, -100, -100, 0, 0 );
});

0 comments on commit ca0b4b8

Please sign in to comment.
You can’t perform that action at this time.