Skip to content

Commit

Permalink
Avoid error on gym page.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeKleineKobini committed Jan 2, 2025
1 parent d904fa9 commit 2fb6c41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
new MutationObserver(async (mutations) => {
if (!feature.enabled()) return;

if (mutations.some((mutation) => [...mutation?.addedNodes].some((node) => node.className.includes?.("gymContentWrapper__")))) {
if (mutations.some((mutation) => [...mutation?.addedNodes].some((node) => node.className?.includes?.("gymContentWrapper__")))) {
showCheckboxes();

requireElement("#gymroot ul[class*='properties_']").then((properties) => {
Expand Down

0 comments on commit 2fb6c41

Please sign in to comment.