Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed small typo with justClicked var

  • Loading branch information...
commit 5ab1e13588caa8bd8b680bff698237d4854b4033 1 parent 0041726
Andrew Valums authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ajaxupload.js
View
6 ajaxupload.js
@@ -349,10 +349,10 @@ AjaxUpload.prototype = {
// there is some time while you can leave the button.
// So we should not change display to none immediately
addEvent(input, 'click', function(){
- self.justClicked = true;
+ self._justClicked = true;
setTimeout(function(){
// we will wait 3 seconds for dialog to open
- self.justClicked = false;
+ self._justClicked = false;
}, 2500);
});
@@ -411,7 +411,7 @@ AjaxUpload.prototype = {
// if input was just clicked do not hide it
// to prevent safari bug
- if (self.justClicked){
+ if (self._justClicked){
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.