fix: use local dropzone.js

This commit is contained in:
Baoshuo Ren 2023-01-30 19:58:37 +08:00
parent 18f6556e03
commit 24c5ad4e5f
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
3 changed files with 4 additions and 2 deletions

View File

@ -1172,7 +1172,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {
return '';
}
?>
<link href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.css" rel="stylesheet">
<?= HTML::css_link('/css/dropzone.min.css') ?>
<div class="path">
<div class="card mb-2 fm-upload-wrapper <?php echo fm_get_theme(); ?>">
@ -1214,7 +1214,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.9.3/min/dropzone.min.js"></script>
<?= HTML::js_src('/js/dropzone.min.js') ?>
<script>
Dropzone.options.fileUploader = {
chunking: true,

1
web/css/dropzone.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
web/js/dropzone.min.js vendored Normal file

File diff suppressed because one or more lines are too long