Skip to content

Commit f2aec7e

Browse files
committed
fix syntax error
1 parent 8683e2b commit f2aec7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ <h1>Try it online</h1>
223223
editor.on("change", refreshAst);
224224
refreshAst();
225225
$('[data-opt]').on('click', function() {
226-
options.[$(this).attr('data-key')][$(this).attr('data-opt')] = $(this).is(':checked');
226+
options[$(this).attr('data-key')][$(this).attr('data-opt')] = $(this).is(':checked');
227227
refreshAst();
228228
});
229229
</script>

0 commit comments

Comments
 (0)