We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b307050 commit 0698ff9Copy full SHA for 0698ff9
js/style.js
@@ -6,9 +6,9 @@ import { IS_PUTER } from "./puter.js";
6
const style = {
7
apply(name) {
8
configuration.set("style", name);
9
-
10
- Object.keys(configuration.getConfig().styleOptions).forEach(styleOption => {
11
- const showOption = configuration.getConfig().styleOptions[styleOption];
+ const config = configuration.getConfig();
+ Object.keys(config.styleOptions).forEach(styleOption => {
+ const showOption = config.styleOptions[styleOption];
12
if (showOption) {
13
document.querySelectorAll(`.judge0-${styleOption}`).forEach(e => {
14
e.classList.remove("judge0-style-hidden");
0 commit comments