Also disable output and tests
This commit is contained in:
@@ -11,6 +11,9 @@ window.$(document).ready(function() {
|
||||
var common = parent.common;
|
||||
|
||||
common.getJsOutput = function evalJs(code = '') {
|
||||
if (window.__err || !common.shouldRun()) {
|
||||
return window.__err || 'code disabled';
|
||||
}
|
||||
let output;
|
||||
try {
|
||||
/* eslint-disable no-eval */
|
||||
|
Reference in New Issue
Block a user