From 707dc91caa09fab63b8fb6775d602124e98f9413 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sun, 28 Feb 2021 23:27:47 +0100 Subject: [PATCH] add iframe.src --- src/static/js/ace.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 472bef5f7..55393b0a5 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -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);