aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.droppable.js
diff options
context:
space:
mode:
authorDavid Hansen <hansede@gmail.com>2013-01-23 11:46:10 -0700
committerMike Sherov <mike.sherov@gmail.com>2013-05-20 21:30:16 -0400
commit433ef9d433e9baa464cd0b313b82efa6f1d65556 (patch)
tree1b98b8fb26c946f272619b88dca079e4343940a4 /ui/jquery.ui.droppable.js
parent2eb89f07341a557084fa3363fe22afe62530654d (diff)
downloadjquery-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.js2
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", {