@caweb/html-webpack-plugin 1.5.21 → 1.5.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/build/delta.asset.php +1 -1
  2. package/build/delta.js +6 -3
  3. package/build/delta.js.map +1 -1
  4. package/build/delta.min.asset.php +1 -1
  5. package/build/delta.min.js +1 -1
  6. package/build/eureka.asset.php +1 -1
  7. package/build/eureka.js +6 -3
  8. package/build/eureka.js.map +1 -1
  9. package/build/eureka.min.asset.php +1 -1
  10. package/build/eureka.min.js +1 -1
  11. package/build/mono.asset.php +1 -1
  12. package/build/mono.js +6 -3
  13. package/build/mono.js.map +1 -1
  14. package/build/mono.min.asset.php +1 -1
  15. package/build/mono.min.js +1 -1
  16. package/build/oceanside.asset.php +1 -1
  17. package/build/oceanside.js +6 -3
  18. package/build/oceanside.js.map +1 -1
  19. package/build/oceanside.min.asset.php +1 -1
  20. package/build/oceanside.min.js +1 -1
  21. package/build/orangecounty.asset.php +1 -1
  22. package/build/orangecounty.js +6 -3
  23. package/build/orangecounty.js.map +1 -1
  24. package/build/orangecounty.min.asset.php +1 -1
  25. package/build/orangecounty.min.js +1 -1
  26. package/build/pasorobles.asset.php +1 -1
  27. package/build/pasorobles.js +6 -3
  28. package/build/pasorobles.js.map +1 -1
  29. package/build/pasorobles.min.asset.php +1 -1
  30. package/build/pasorobles.min.js +1 -1
  31. package/build/sacramento.asset.php +1 -1
  32. package/build/sacramento.js +6 -3
  33. package/build/sacramento.js.map +1 -1
  34. package/build/sacramento.min.asset.php +1 -1
  35. package/build/sacramento.min.js +1 -1
  36. package/build/santabarbara.asset.php +1 -1
  37. package/build/santabarbara.js +6 -3
  38. package/build/santabarbara.js.map +1 -1
  39. package/build/santabarbara.min.asset.php +1 -1
  40. package/build/santabarbara.min.js +1 -1
  41. package/build/santacruz.asset.php +1 -1
  42. package/build/santacruz.js +6 -3
  43. package/build/santacruz.js.map +1 -1
  44. package/build/santacruz.min.asset.php +1 -1
  45. package/build/santacruz.min.js +1 -1
  46. package/build/shasta.asset.php +1 -1
  47. package/build/shasta.js +6 -3
  48. package/build/shasta.js.map +1 -1
  49. package/build/shasta.min.asset.php +1 -1
  50. package/build/shasta.min.js +1 -1
  51. package/build/sierra.asset.php +1 -1
  52. package/build/sierra.js +6 -3
  53. package/build/sierra.js.map +1 -1
  54. package/build/sierra.min.asset.php +1 -1
  55. package/build/sierra.min.js +1 -1
  56. package/build/trinity.asset.php +1 -1
  57. package/build/trinity.js +6 -3
  58. package/build/trinity.js.map +1 -1
  59. package/build/trinity.min.asset.php +1 -1
  60. package/build/trinity.min.js +1 -1
  61. package/package.json +3 -3
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '64c13db2de54f5439af1');
1
+ <?php return array('dependencies' => array(), 'version' => '51778fbd4bd21bfe2c16');
package/build/delta.js CHANGED
@@ -6384,12 +6384,15 @@ window.addEventListener('load', () => {
6384
6384
 
6385
6385
  // downscroll code passed the header height
6386
6386
  if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {
6387
- var _alerts$scrollHeight, _utilityHeader$scroll;
6388
6387
  // lets add the scroll heights of any alerts
6389
- scrollHeights += (_alerts$scrollHeight = alerts?.scrollHeight) !== null && _alerts$scrollHeight !== void 0 ? _alerts$scrollHeight : 0;
6388
+ if (alerts) {
6389
+ scrollHeights += alerts.scrollHeight;
6390
+ }
6390
6391
 
6391
6392
  // lets add the scroll heights of the utility header
6392
- scrollHeights += (_utilityHeader$scroll = utilityHeader?.scrollHeight) !== null && _utilityHeader$scroll !== void 0 ? _utilityHeader$scroll : 0;
6393
+ if (utilityHeader) {
6394
+ scrollHeights += utilityHeader.scrollHeight;
6395
+ }
6393
6396
 
6394
6397
  // move the header up to the scroll height, minus any elements above the header
6395
6398
  header.style.top = `-${scrollHeights - miscElementHeights}px`;