зеркало из https://github.com/mozilla/pjs.git
Bug 158475 JS console should allow multiple evaluations of const x = Math.random(); x * x; r=timeless sr=roc
This commit is contained in:
Родитель
2ffc7adbcf
Коммит
e26e73ec20
|
@ -146,6 +146,9 @@ function displayResult()
|
||||||
if (result)
|
if (result)
|
||||||
gConsole.mCService.logStringMessage(result);
|
gConsole.mCService.logStringMessage(result);
|
||||||
// or could use appendMessage which doesn't persist
|
// or could use appendMessage which doesn't persist
|
||||||
|
var iframe = document.getElementById("Evaluator");
|
||||||
|
if (iframe.getAttribute("src") != "about:blank")
|
||||||
|
iframe.setAttribute("src", "about:blank");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* :::::::: Command Controller for the Window ::::::::::::::: */
|
/* :::::::: Command Controller for the Window ::::::::::::::: */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче