aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2010-10-14 02:53:20 -0700
committerRichard D. Worth <rdworth@gmail.com>2010-10-14 02:53:20 -0700
commit8fcf58e29e4adfdcf9bef5c9e35bde932c165aa8 (patch)
tree9667205f60e335d73819478b63a8b263a4d6c5aa /ui
parent715f83f1ce16a0278363c38e5ec827cd83007c5f (diff)
downloadjquery-ui-8fcf58e29e4adfdcf9bef5c9e35bde932c165aa8.tar.gz
jquery-ui-8fcf58e29e4adfdcf9bef5c9e35bde932c165aa8.zip
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.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.mouse.js2
1 files changed, 1 insertions, 1 deletions
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);
}