Skip to content

Commit 23c7d36

Browse files
NiGhTTraXscottgonzalez
authored andcommitted
Sortable: Cleanup
Closes jquerygh-1168 Closes jquerygh-1169
1 parent 0b28d59 commit 23c7d36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/sortable/sortable_events.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,12 @@ test( "over", function() {
249249
});
250250

251251
ok( hash, "stop event triggered" );
252-
ok( hash.helper, "UI should not include: helper" );
252+
ok( hash.helper, "UI includes: helper" );
253253
ok( hash.placeholder, "UI hash includes: placeholder" );
254254
ok( hash.position && ( "top" in hash.position && "left" in hash.position ), "UI hash includes: position" );
255255
ok( hash.offset && ( hash.offset.top && hash.offset.left ), "UI hash includes: offset" );
256256
ok( hash.item, "UI hash includes: item" );
257-
ok( hash.sender, "UI hash does not include: sender" );
257+
ok( hash.sender, "UI hash includes: sender" );
258258
equal( overCount, 1, "over fires only once" );
259259
});
260260

ui/jquery.ui.sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ $.widget("ui.sortable", $.ui.mouse, {
733733
p = this.containers[i].element.offset();
734734
this.containers[i].containerCache.left = p.left;
735735
this.containers[i].containerCache.top = p.top;
736-
this.containers[i].containerCache.width = this.containers[i].element.outerWidth();
736+
this.containers[i].containerCache.width = this.containers[i].element.outerWidth();
737737
this.containers[i].containerCache.height = this.containers[i].element.outerHeight();
738738
}
739739
}

0 commit comments

Comments
 (0)