mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix viewer
This commit is contained in:
@@ -1916,7 +1916,6 @@
|
||||
PDFViewerApplication.open(new Uint8Array(xhr.response));
|
||||
};
|
||||
|
||||
console.log({file})
|
||||
xhr.open('GET', file);
|
||||
xhr.responseType = 'arraybuffer';
|
||||
xhr.send();
|
||||
@@ -1924,7 +1923,6 @@
|
||||
}
|
||||
|
||||
if (file) {
|
||||
console.log({file})
|
||||
PDFViewerApplication.open(new URLSearchParams(window.location.search).get('file'));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user