diff options
author | David Hansen <hansede@gmail.com> | 2013-01-23 11:46:10 -0700 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2013-05-20 21:30:16 -0400 |
commit | 433ef9d433e9baa464cd0b313b82efa6f1d65556 (patch) | |
tree | 1b98b8fb26c946f272619b88dca079e4343940a4 /ui/jquery.ui.droppable.js | |
parent | 2eb89f07341a557084fa3363fe22afe62530654d (diff) | |
download | jquery-ui-433ef9d433e9baa464cd0b313b82efa6f1d65556.tar.gz jquery-ui-433ef9d433e9baa464cd0b313b82efa6f1d65556.zip |
Interactions: Fixed an off-by-one error in isOverAxis.
Diffstat (limited to 'ui/jquery.ui.droppable.js')
-rw-r--r-- | ui/jquery.ui.droppable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js index 6bc4b594d..808009dc1 100644 --- a/ui/jquery.ui.droppable.js +++ b/ui/jquery.ui.droppable.js @@ -17,7 +17,7 @@ (function( $, undefined ) { function isOverAxis( x, reference, size ) { - return ( x > reference ) && ( x < ( reference + size ) ); + return ( x >= reference ) && ( x < ( reference + size ) ); } $.widget("ui.droppable", { |