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