From 433ef9d433e9baa464cd0b313b82efa6f1d65556 Mon Sep 17 00:00:00 2001 From: David Hansen Date: Wed, 23 Jan 2013 11:46:10 -0700 Subject: Interactions: Fixed an off-by-one error in isOverAxis. --- ui/jquery.ui.droppable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/jquery.ui.droppable.js') 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", { -- cgit v1.2.3