Spaces:
Runtime error
Runtime error
Update templates/gui.html
Browse files- templates/gui.html +4 -4
templates/gui.html
CHANGED
|
@@ -16,10 +16,10 @@
|
|
| 16 |
function getURLParams() {
|
| 17 |
const urlParams = new URLSearchParams(window.location.search);
|
| 18 |
return {
|
| 19 |
-
pdfLink:
|
| 20 |
-
keyword:
|
| 21 |
-
pageNumber: parseInt(urlParams.get('page')) || 1,
|
| 22 |
-
zoomRect: urlParams.get('zoom') || '' // Expecting format: "x,y,width,height"
|
| 23 |
};
|
| 24 |
}
|
| 25 |
|
|
|
|
| 16 |
function getURLParams() {
|
| 17 |
const urlParams = new URLSearchParams(window.location.search);
|
| 18 |
return {
|
| 19 |
+
pdfLink: urlParams.get('pdf_link'),
|
| 20 |
+
keyword: urlParams.get('keyword')
|
| 21 |
+
// pageNumber: parseInt(urlParams.get('page')) || 1,
|
| 22 |
+
// zoomRect: urlParams.get('zoom') || '' // Expecting format: "x,y,width,height"
|
| 23 |
};
|
| 24 |
}
|
| 25 |
|