Skip to content

Commit 67409cd

Browse files
committed
minor
1 parent 151f112 commit 67409cd

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎v4-cokapi/cokapi.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3131

3232
// VERY IMPORTANT - turn on the sandbox when deploying online, or else
3333
// you'll be executing untrusted code on your server!
34-
var USE_DOCKER_SANDBOX = true;
34+
var USE_DOCKER_SANDBOX = false;
3535

3636
var assert = require('assert');
3737
var child_process = require('child_process');

‎v4-cokapi/frontends/js/cokapi-frontend.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,10 @@ $(document).ready(function() {
145145
$('#pythonVersionSelector').val('2');
146146
}
147147

148-
$.get(exFile, pyInputSetValue);
149-
initAceAndOptions();
148+
$.get(exFile, function(dat) {
149+
pyInputSetValue(dat);
150+
initAceAndOptions();
151+
});
150152
return false; // prevent 'a' click from going to an actual link
151153
});
152154
$('#pythonVersionSelector').change(initAceAndOptions);

0 commit comments

Comments
 (0)