]> source.dussan.org Git - gitea.git/commit
Fix Dropzone following #15315 (#15353)
authorzeripath <art27@cantab.net>
Fri, 9 Apr 2021 02:32:30 +0000 (03:32 +0100)
committerGitHub <noreply@github.com>
Fri, 9 Apr 2021 02:32:30 +0000 (10:32 +0800)
commit7088bcf61bdb748ccd902b6c8ae869340bb4b333
tree78a63e185efb23709bc7374bf8913c5082e4f765
parent147826a57750f6e8120fe3bfb350cde61734969c
Fix Dropzone following #15315 (#15353)

* Fix Dropzone following #15315

#15315 appears to have caused a change in the way Dropzone is imported - and it
now produces a module rather than the constructor.

This PR rather hackily just adds another Dropzone call to the result.

Signed-off-by: Andrew Thornton <art27@cantab.net>
* use destructured export

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
web_src/js/features/dropzone.js