diff options
-rw-r--r-- | ui/widgets/sortable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/sortable.js b/ui/widgets/sortable.js index 8920ed967..59b3bfff0 100644 --- a/ui/widgets/sortable.js +++ b/ui/widgets/sortable.js @@ -908,7 +908,7 @@ return $.widget( "ui.sortable", $.ui.mouse, { floating = innermostContainer.floating || this._isFloating( this.currentItem ); posProperty = floating ? "left" : "top"; sizeProperty = floating ? "width" : "height"; - axis = floating ? "clientX" : "clientY"; + axis = floating ? "pageX" : "pageY"; for ( j = this.items.length - 1; j >= 0; j-- ) { if ( !$.contains( this.containers[ innermostIndex ].element[ 0 ], this.items[ j ].item[ 0 ] ) ) { |