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 c586a5e + 2c09f28 commit 43f5f05Copy full SHA for 43f5f05
src/embed.ts
@@ -533,7 +533,8 @@ export abstract class Embed {
533
if(!this.iframe) {
534
var iframeContent = document.createElement("iframe");
535
var embedUrl = this.config.uniqueId ? utils.addParamToUrl(this.config.embedUrl, 'uid', this.config.uniqueId) : this.config.embedUrl;
536
- iframeContent.setAttribute("style", "width:100%;height:100%;");
+ iframeContent.style.width = '100%';
537
+ iframeContent.style.height = '100%';
538
iframeContent.setAttribute("src", embedUrl);
539
iframeContent.setAttribute("scrolling", "no");
540
iframeContent.setAttribute("allowfullscreen", "true");
0 commit comments