add iframe.src

This commit is contained in:
webzwo0i 2021-02-28 23:27:47 +01:00
parent 576be344e4
commit 707dc91caa

View file

@ -250,6 +250,7 @@ const Ace2Editor = function () {
iframe.title = 'pad';
iframe.allowTransparency = true; // for IE
iframe.ace_outerWin = outerWindow;
iframe.src = 'about:blank';
iframe.onload = postInnerFrame;
outerDocument.body.insertBefore(iframe, outerDocument.body.firstChild);