diff --git a/js/qvitter.js b/js/qvitter.js index f0bc949..6c05cff 100644 --- a/js/qvitter.js +++ b/js/qvitter.js @@ -3484,6 +3484,7 @@ $('body').on('click','.upload-image',function () { var thisUploadButton = $(this); $('#upload-image-input').one('click',function(){ // trick to make the change event only fire once when selecting a file + $(this).unbind('change'); $(this).one('change',function(e){ uploadAttachment(e, thisUploadButton); })