瀏覽代碼

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>
tags/v1.15.0-rc1
zeripath 3 年之前
父節點
當前提交
7088bcf61b
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web_src/js/features/dropzone.js

+ 1
- 1
web_src/js/features/dropzone.js 查看文件

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

Loading…
取消
儲存