This fixes a regression introduced by commit 8330558e.
Attach a file by drag & drop or click to upload