Skip to content

Commit

Permalink
Sortable: Cleanup
Browse files Browse the repository at this point in the history
Closes gh-1168
Closes gh-1169
  • Loading branch information
NiGhTTraX authored and scottgonzalez committed Jan 15, 2014
1 parent 0b28d59 commit 23c7d36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit/sortable/sortable_events.js
Expand Up @@ -249,12 +249,12 @@ test( "over", function() {
});

ok( hash, "stop event triggered" );
ok( hash.helper, "UI should not include: helper" );
ok( hash.helper, "UI includes: helper" );
ok( hash.placeholder, "UI hash includes: placeholder" );
ok( hash.position && ( "top" in hash.position && "left" in hash.position ), "UI hash includes: position" );
ok( hash.offset && ( hash.offset.top && hash.offset.left ), "UI hash includes: offset" );
ok( hash.item, "UI hash includes: item" );
ok( hash.sender, "UI hash does not include: sender" );
ok( hash.sender, "UI hash includes: sender" );
equal( overCount, 1, "over fires only once" );
});

Expand Down
2 changes: 1 addition & 1 deletion ui/jquery.ui.sortable.js
Expand Up @@ -733,7 +733,7 @@ $.widget("ui.sortable", $.ui.mouse, {
p = this.containers[i].element.offset();
this.containers[i].containerCache.left = p.left;
this.containers[i].containerCache.top = p.top;
this.containers[i].containerCache.width = this.containers[i].element.outerWidth();
this.containers[i].containerCache.width = this.containers[i].element.outerWidth();
this.containers[i].containerCache.height = this.containers[i].element.outerHeight();
}
}
Expand Down

0 comments on commit 23c7d36

Please sign in to comment.