diff --git a/src/components/PsLivePhoto.ts b/src/components/PsLivePhoto.ts index 80905f68..f73b62c9 100644 --- a/src/components/PsLivePhoto.ts +++ b/src/components/PsLivePhoto.ts @@ -41,6 +41,7 @@ class LivePhotoContentSetup { utils.setupLivePhotoHooks(video); const img = document.createElement("img"); + img.classList.add("pswp__img"); img.src = content.data.src; img.onload = () => content.onLoaded(); div.appendChild(img);