Permalink
Browse files

minor rearrangement of an if condition

  • Loading branch information...
1 parent 21f2c22 commit 8422dae5987f8325afc69bb1fea1b2248efb04e4 @maranomynet committed Mar 30, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 1.1/jquery.virtualbrowser-1.1-min.js
  2. +1 −1 1.1/jquery.virtualbrowser-1.1.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -271,7 +271,7 @@
params = params.replace(/^&+|&+$/g,'');
// raise a flag if we need to submit via an iframe...
var mp = 'multipart/form-data';
- evBeforeload._doIframeSubmit = !!elm.find('input:file')[0] || elm.attr('enctype') == mp || elm.attr('encoding') == mp;
+ evBeforeload._doIframeSubmit = elm.attr('enctype') == mp || elm.attr('encoding') == mp || !!elm.find('input:file')[0];
}
request.params = params;
request.method = method;

0 comments on commit 8422dae

Please sign in to comment.