mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 07:57:04 +03:00
Merge pull request #31 from olegvodyanov/fix
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
fix_link
This commit is contained in:
commit
951e777c13
@ -131,7 +131,7 @@ function createLinkElement(link, isWatched) {
|
|||||||
iframeWrapper.style.borderRadius = '10px';
|
iframeWrapper.style.borderRadius = '10px';
|
||||||
|
|
||||||
const iframe = document.createElement('iframe');
|
const iframe = document.createElement('iframe');
|
||||||
iframe.src = `https://www.instagram.com/reel/${reelId}/embed`;
|
iframe.src = link.url;
|
||||||
iframe.width = '100%';
|
iframe.width = '100%';
|
||||||
iframe.height = '700'; // taller to allow for cropping
|
iframe.height = '700'; // taller to allow for cropping
|
||||||
iframe.style.border = 'none';
|
iframe.style.border = 'none';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user