loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

zeripath
silverwind
6543
and committed by
GitHub
7088bcf6 147826a5

+1 -1
+1 -1
web_src/js/features/dropzone.js
··· 1 1 export default async function createDropzone(el, opts) { 2 - const [{default: Dropzone}] = await Promise.all([ 2 + const [{Dropzone}] = await Promise.all([ 3 3 import(/* webpackChunkName: "dropzone" */'dropzone'), 4 4 import(/* webpackChunkName: "dropzone" */'dropzone/dist/dropzone.css'), 5 5 ]);