Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mouse: better check for not IE9 or greater in case mode was set by X-…

…UA-Compatible. See http://msdn.microsoft.com/en-us/library/cc196988%28VS.85%29.aspx for more info. Fixes #5370 - All drag & drop events fail in IE9. Thanks xirzec.
  • Loading branch information...
commit ec73a59c77c522a45b3a22ea74515c36b7db45a5 1 parent 7eaedaa
@rdworth rdworth authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.mouse.js
View
2  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 && parseInt($.browser.version, 10) < 9 && !event.button) {
+ if ($.browser.msie && !(document.documentMode >= 9) && !event.button) {
return this._mouseUp(event);
}

0 comments on commit ec73a59

Please sign in to comment.
Something went wrong with that request. Please try again.