Skip to content

Commit 388d5fb

Browse files
committed
Prevent stack overflow on IE7/IE8 by avoiding the this reference in the _forceReflow method. Fixes blueimp#1349.
1 parent bbb1156 commit 388d5fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/jquery.fileupload-ui.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload User Interface Plugin 6.9
2+
* jQuery File Upload User Interface Plugin 6.9.1
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2010, Sebastian Tschan
@@ -530,8 +530,8 @@
530530
},
531531

532532
_forceReflow: function (node) {
533-
this._reflow = $.support.transition &&
534-
node.length && node[0].offsetWidth;
533+
return $.support.transition && node.length &&
534+
node[0].offsetWidth;
535535
},
536536

537537
_transition: function (node) {

0 commit comments

Comments
 (0)