When .bind('unload') was called it accidentally went recursive, from 1bac6165. Fixes #5688.
Attach a file by drag & drop or click to upload