Update stirling-pdf/src/main/resources/templates/fragments/common.html

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Reece Browne 2025-07-03 11:41:55 +01:00 committed by GitHub
parent a3962a74c3
commit 2e5f40c54b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,9 @@
// We need to counter both the browser scaling AND the navbar scaling
const dropdownScale = 1.1;
console.log('DPR:', currentDPR, 'navScale:', navScale, 'will apply scaling');
if (DEBUG) {
console.log('DPR:', currentDPR, 'navScale:', navScale, 'will apply scaling');
}
const navbar = document.querySelector('.navbar');