Permalink
Browse files

Allow the same image to be opened twice in a row

  • Loading branch information...
Jake Archibald
Jake Archibald committed Aug 5, 2011
1 parent 0d5970f commit a44fd26d4630a9077469c0f86e878a3657eeeecd
Showing with 1 addition and 0 deletions.
  1. +1 −0 www/assets/4/script/ImgInput.js
@@ -14,6 +14,7 @@ spriteCow.ImgInput = (function() {
$fileInput.change(function(event) {
var file = this.files[0];
file && imgInput._openFileAsImg(file);
this.value = '';
});
imgInput.fileClickjackFor( $selectButton );

0 comments on commit a44fd26

Please sign in to comment.