mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-28 11:37:12 +02:00
feat: more changes and fixes
This commit is contained in:
@@ -38,7 +38,7 @@ htmx.defineExtension('htmx-download', {
|
||||
const mimetype = headers['content-type'] || 'application/octet-stream';
|
||||
|
||||
// Create Blob
|
||||
const blob = new Blob([xhr.response], {type: mimetype});
|
||||
const blob = new Blob([xhr.response], { type: mimetype });
|
||||
const url = URL.createObjectURL(blob);
|
||||
|
||||
// Trigger download
|
||||
|
||||
Reference in New Issue
Block a user