Skip to content

Commit 38c6cf1

Browse files
DaveSteinmikesherov
authored andcommitted
Draggable: Test fix regarding static scrolling
No longer checking scroll positions of static scrolls since the fixture is in an absolute container. Closes gh-1145
1 parent f4839f7 commit 38c6cf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/draggable/draggable_options.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ test( "helper, default, switching after initialization", function() {
678678
},
679679
positions = [ "absolute", "fixed", "relative", "static" ],
680680
helpers = [ "original", "clone" ],
681-
scrollPositions = [ "relative", "static", "absolute", "fixed" ];
681+
// static is not an option here since the fixture is in an absolute container
682+
scrollPositions = [ "relative", "absolute", "fixed" ];
682683

683684
for ( m = 0 ; m < helpers.length; m++ ) {
684685
for ( l = 0; l < positions.length; l++ ) {

0 commit comments

Comments
 (0)