Skip to content
This repository
Browse code

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

…he _forceReflow method. Fixes #1349.
  • Loading branch information...
commit 388d5fb32563e8151c0028e7b361df449518f34b 1 parent bbb1156
Sebastian Tschan authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 js/jquery.fileupload-ui.js
6 js/jquery.fileupload-ui.js
... ... @@ -1,5 +1,5 @@
1 1 /*
2   - * jQuery File Upload User Interface Plugin 6.9
  2 + * jQuery File Upload User Interface Plugin 6.9.1
3 3 * https://github.com/blueimp/jQuery-File-Upload
4 4 *
5 5 * Copyright 2010, Sebastian Tschan
@@ -530,8 +530,8 @@
530 530 },
531 531
532 532 _forceReflow: function (node) {
533   - this._reflow = $.support.transition &&
534   - node.length && node[0].offsetWidth;
  533 + return $.support.transition && node.length &&
  534 + node[0].offsetWidth;
535 535 },
536 536
537 537 _transition: function (node) {

0 comments on commit 388d5fb

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