Skip to content

Commit

Permalink
Ultralytics Refactor https://ultralytics.com/actions (#25)
Browse files Browse the repository at this point in the history
Automated merge of Ultralytics Code Refactor
  • Loading branch information
pderrenger authored Nov 21, 2024
1 parent a41e941 commit 82eca5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/overrides/javascript/extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ checkAutoTheme();
document.addEventListener("DOMContentLoaded", () => {
const autoThemeInput = document.getElementById("__palette_1");
autoThemeInput?.addEventListener("click", () => {
if (autoThemeInput.checked) setTimeout(checkAutoTheme);
if (autoThemeInput.checked) {
setTimeout(checkAutoTheme);
}
});
});

Expand Down

0 comments on commit 82eca5c

Please sign in to comment.