Fix native sharing of live photo (fix #263)
parent
7302471865
commit
f1c0d51a7d
|
@ -41,6 +41,7 @@ class LivePhotoContentSetup {
|
||||||
utils.setupLivePhotoHooks(video);
|
utils.setupLivePhotoHooks(video);
|
||||||
|
|
||||||
const img = document.createElement("img");
|
const img = document.createElement("img");
|
||||||
|
img.classList.add("pswp__img");
|
||||||
img.src = content.data.src;
|
img.src = content.data.src;
|
||||||
img.onload = () => content.onLoaded();
|
img.onload = () => content.onLoaded();
|
||||||
div.appendChild(img);
|
div.appendChild(img);
|
||||||
|
|
Loading…
Reference in New Issue