Skip to content

Commit 6fc3d12

Browse files
author
pipeline
committed
config(EJ2-4235): Multiple plnkr open issue fixed for Production
1 parent 77102c8 commit 6fc3d12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/common/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,10 @@ function renderDescription(): void {
604604

605605
function plunker(results: string): void {
606606
let plnkr: { [key: string]: Object } = JSON.parse(results);
607+
let prevForm: Element = select('#plnkr-form');
608+
if (prevForm) {
609+
detach(prevForm);
610+
}
607611
let form: HTMLFormElement = <HTMLFormElement>createElement('form');
608612
form.setAttribute('action', 'http://plnkr.co/edit/?p=preview');
609613
form.setAttribute('method', 'post');

0 commit comments

Comments
 (0)