         @hiddenFileInput.addEventListener "change", =>
           files = @hiddenFileInput.files
           if files.length
-            @emit "selectedfiles", files
             @handleFiles files
           setupHiddenFileInput()
       setupHiddenFileInput()

    @emit "drop", e

    files = e.dataTransfer.files
    @emit "selectedfiles", files

    # Even if it's a folder, files.length will contain the folders.
    if files.length

    "dragenter"
    "dragover"
    "dragleave"
    "addedfile"
    "removedfile"
    "thumbnail"
