Fix PDF: move page grid code inside IIFE (ReferenceError fix)
This commit is contained in:
parent
3bcf109e08
commit
88e2e12f7c
@ -1657,8 +1657,6 @@
|
|||||||
// ─── Security sub-op default ──────────────────────────────────────────────
|
// ─── Security sub-op default ──────────────────────────────────────────────
|
||||||
state.securitySub = 'protect';
|
state.securitySub = 'protect';
|
||||||
|
|
||||||
})();
|
|
||||||
|
|
||||||
// ─── Page Grid Thumbnails ─────────────────────────────────────────────────
|
// ─── Page Grid Thumbnails ─────────────────────────────────────────────────
|
||||||
function renderPageGrid(gridId, hintId, fileId, pages, mode) {
|
function renderPageGrid(gridId, hintId, fileId, pages, mode) {
|
||||||
const grid = document.getElementById(gridId);
|
const grid = document.getElementById(gridId);
|
||||||
@ -1704,6 +1702,9 @@
|
|||||||
renderPageGrid('reorderPageGrid', 'reorderHint', sel.id, sel.pages, 'reorder');
|
renderPageGrid('reorderPageGrid', 'reorderHint', sel.id, sel.pages, 'reorder');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
})();
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user