Skip to content

Commit d6c8b78

Browse files
committed
fix indents
1 parent 253de12 commit d6c8b78

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/embed.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -467,18 +467,18 @@ export abstract class Embed {
467467
*/
468468
private setIframe(isLoad: boolean): void {
469469
if(!this.iframe) {
470-
var iframeContent = document.createElement("IFRAME");
471-
var embedUrl = this.config.embedUrl;
472-
iframeContent.setAttribute("style", "width:100%;height:100%;");
473-
iframeContent.setAttribute("src", embedUrl);
474-
iframeContent.setAttribute("scrolling", "no");
475-
iframeContent.setAttribute("allowfullscreen", "true");
476-
var node = this.element;
477-
while(node.firstChild) {
478-
node.removeChild(node.firstChild);
479-
}
480-
node.appendChild(iframeContent);
481-
this.iframe = <HTMLIFrameElement>node.firstChild;
470+
var iframeContent = document.createElement("IFRAME");
471+
var embedUrl = this.config.embedUrl;
472+
iframeContent.setAttribute("style", "width:100%;height:100%;");
473+
iframeContent.setAttribute("src", embedUrl);
474+
iframeContent.setAttribute("scrolling", "no");
475+
iframeContent.setAttribute("allowfullscreen", "true");
476+
var node = this.element;
477+
while(node.firstChild) {
478+
node.removeChild(node.firstChild);
479+
}
480+
node.appendChild(iframeContent);
481+
this.iframe = <HTMLIFrameElement>node.firstChild;
482482
}
483483

484484
if(isLoad){

0 commit comments

Comments
 (0)