File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,22 @@ let addDynamicContent = (event) => {
77 iframeElement = document . createElement ( 'iframe' ) ;
88
99 imageElement . setAttribute ( 'is' , 'loading-image' ) ;
10+ // We're using a differing string at the end of the query than the regular one embedded directly into the page
1011 imageElement . setAttribute (
1112 'src' ,
12- 'img/lazyimg-src-loadinglazy.250x150.guetzli.jpg?loading=lazy&image-width=250&image-height=150&dynamic'
13+ 'img/lazyimg-src-loadinglazy.250x150.guetzli.jpg?loading=lazy&image-width=250&image-height=150&dynamic-example-query '
1314 ) ;
1415 imageElement . setAttribute ( 'loading' , 'lazy' ) ;
1516 imageElement . setAttribute ( 'alt' , '..' ) ;
1617 imageElement . setAttribute ( 'width' , '250' ) ;
1718 imageElement . setAttribute ( 'height' , '150' ) ;
1819
1920 iframeElement . setAttribute ( 'is' , 'loading-iframe' ) ;
20- iframeElement . setAttribute ( 'src' , 'iframe.html?loading=lazy&dynamic' ) ;
21+ // We're using a differing string at the end of the query than the regular one embedded directly into the page
22+ iframeElement . setAttribute (
23+ 'src' ,
24+ 'iframe.html?loading=lazy&dynamic-example-query'
25+ ) ;
2126 iframeElement . setAttribute ( 'loading' , 'lazy' ) ;
2227 iframeElement . setAttribute ( 'title' , '..' ) ;
2328 iframeElement . setAttribute ( 'width' , '320' ) ;
You can’t perform that action at this time.
0 commit comments