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 ──────────────────────────────────────────────
|
||||
state.securitySub = 'protect';
|
||||
|
||||
})();
|
||||
|
||||
// ─── Page Grid Thumbnails ─────────────────────────────────────────────────
|
||||
function renderPageGrid(gridId, hintId, fileId, pages, mode) {
|
||||
const grid = document.getElementById(gridId);
|
||||
@ -1704,6 +1702,9 @@
|
||||
renderPageGrid('reorderPageGrid', 'reorderHint', sel.id, sel.pages, 'reorder');
|
||||
}
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user