Permalink
Browse files

Prevent stack overflow on IE7/IE8 by avoiding the this reference in t…

…he _forceReflow method. Fixes #1349.
  • Loading branch information...
1 parent bbb1156 commit 388d5fb32563e8151c0028e7b361df449518f34b @blueimp committed Jun 1, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/jquery.fileupload-ui.js
View
6 js/jquery.fileupload-ui.js
@@ -1,5 +1,5 @@
/*
- * jQuery File Upload User Interface Plugin 6.9
+ * jQuery File Upload User Interface Plugin 6.9.1
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
@@ -530,8 +530,8 @@
},
_forceReflow: function (node) {
- this._reflow = $.support.transition &&
- node.length && node[0].offsetWidth;
+ return $.support.transition && node.length &&
+ node[0].offsetWidth;
},
_transition: function (node) {

0 comments on commit 388d5fb

Please sign in to comment.