From 8fcf58e29e4adfdcf9bef5c9e35bde932c165aa8 Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Thu, 14 Oct 2010 02:53:20 -0700 Subject: [PATCH] Mouse: Limit mouseup out of window check to only versions of IE earlier than 9 as IE9 has this fixed. Fixes #5370 - All drag & drop events fail in IE9. --- ui/jquery.ui.mouse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.mouse.js b/ui/jquery.ui.mouse.js index bdeb46c66..6f065ae6b 100644 --- a/ui/jquery.ui.mouse.js +++ b/ui/jquery.ui.mouse.js @@ -93,7 +93,7 @@ $.widget("ui.mouse", { _mouseMove: function(event) { // IE mouseup check - mouseup happened when mouse was out of window - if ($.browser.msie && !event.button) { + if ($.browser.msie && parseInt(jQuery.browser.version, 10) < 9 && !event.button) { return this._mouseUp(event); } -- 2.39.5