Fix Bootstrap JS blocked by wrong SRI hash — single char (x→X)
The integrity hash for bootstrap.bundle.min.js had a lowercase 'x' where the correct hash has uppercase 'X' (position 27: NNkmXc5s not NNkmxc5s). This caused the browser to silently block Bootstrap JS execution entirely, breaking ALL modals (Add Adjustment, Edit, Delete, Price Overtime, Payslip Preview), dropdowns (navbar), and mobile navbar toggle across the whole app. Verified by computing sha384 of the actual CDN file: curl -sL .../bootstrap.bundle.min.js | openssl dgst -sha384 -binary | base64 → YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0b3ef5395f
commit
7fd32a0aee
@ -119,6 +119,6 @@
|
||||
</footer>
|
||||
|
||||
<!-- Bootstrap 5.3 JS Bundle -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmxc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user