Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fix for another use case, see comment by whittet here: http://bug…

…s.jqueryui.com/ticket/6702

(cherry picked from commit 2bf061e)
  • Loading branch information...
commit f3737a91835f6b35b49a5b821e7cc555340c6057 1 parent a6d8fd1
@whittet whittet authored scottgonzalez committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.sortable.js
View
2  ui/jquery.ui.sortable.js
@@ -50,7 +50,7 @@ $.widget("ui.sortable", $.ui.mouse, {
this.refresh();
//Let's determine if the items are being displayed horizontally
- this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) || (/inline|table-cell/).test(this.items[0].item.css('display')) : false;
+ this.floating = this.items.length ? o.axis === 'x' || (/left|right/).test(this.items[0].item.css('float')) || (/inline|table-cell/).test(this.items[0].item.css('display')) : false;
//Let's determine the parent's offset
this.offset = this.element.offset();
Please sign in to comment.
Something went wrong with that request. Please try again.