Skip to content
Browse files

fixed issue #495: IE9 plupload.getPos returns wrong coordinates

  • Loading branch information...
1 parent 5021b49 commit bfe99c27a204526402795cf1a869bb4bd38ede18 Gernot Kieseritzky committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/javascript/plupload.js
View
2 src/javascript/plupload.js
@@ -482,7 +482,7 @@
}
// Use getBoundingClientRect on IE 6 and IE 7 but not on IE 8 in standards mode
- if (node && node.getBoundingClientRect && (navigator.userAgent.indexOf('MSIE') > 0 && doc.documentMode !== 8)) {
+ if (node && node.getBoundingClientRect && ((navigator.userAgent.indexOf('MSIE') > 0) && (doc.documentMode < 8))) {
nodeRect = getIEPos(node);
rootRect = getIEPos(root);

0 comments on commit bfe99c2

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