Skip to content

Commit

Permalink
Fixed initial value problem with Optimized AST mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed May 26, 2020
1 parent 19c8381 commit f9e0d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ codeAstOptimized.setOptions({
})
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'));

function generateErrorListHTML(errors) {
Expand Down

0 comments on commit f9e0d25

Please sign in to comment.