Fixed initial value problem with Optimized AST mode

This commit is contained in:
yhirose 2020-05-26 18:30:19 -04:00
parent 19c83811ee
commit f9e0d252d9

View File

@ -27,7 +27,7 @@ codeAstOptimized.setOptions({
}) })
codeAstOptimized.renderer.$cursorLayer.element.style.opacity=0; codeAstOptimized.renderer.$cursorLayer.element.style.opacity=0;
$('#opt_mode').val(localStorage.getItem('optimazationMode')); $('#opt_mode').val(localStorage.getItem('optimazationMode') || 'all');
$('#opt_rules').val(localStorage.getItem('optimazationRules')); $('#opt_rules').val(localStorage.getItem('optimazationRules'));
function generateErrorListHTML(errors) { function generateErrorListHTML(errors) {