From 2e5f40c54b57963ee46d8a351d02f05187a0101b Mon Sep 17 00:00:00 2001 From: Reece Browne <74901996+reecebrowne@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:41:55 +0100 Subject: [PATCH] Update stirling-pdf/src/main/resources/templates/fragments/common.html Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../src/main/resources/templates/fragments/common.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stirling-pdf/src/main/resources/templates/fragments/common.html b/stirling-pdf/src/main/resources/templates/fragments/common.html index 558aab917..135004639 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/common.html +++ b/stirling-pdf/src/main/resources/templates/fragments/common.html @@ -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');