We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60fe6d3 + 743939a commit b42457eCopy full SHA for b42457e
resources/views/partials/head.blade.php
@@ -1,7 +1,7 @@
1
<script>
2
window.responsiveResizeObserver = new ResizeObserver(async (entries) => {
3
entries.forEach(entry => {
4
- let imgWidth = entry.devicePixelContentBoxSize[0].inlineSize;
+ let imgWidth = entry?.devicePixelContentBoxSize?.[0]?.inlineSize || 0;
5
6
if (imgWidth === 0) {
7
return;
0 commit comments