diff --git a/docs/maps/api-ui.md b/docs/maps/api-ui.md
index fc38dc41..286f2ac7 100644
--- a/docs/maps/api-ui.md
+++ b/docs/maps/api-ui.md
@@ -85,5 +85,5 @@ WA.ui.registerMenuCommand("test", () => {
```
-

+
\ No newline at end of file
diff --git a/docs/maps/assets/menu-command.png b/docs/maps/assets/menu-command.png
deleted file mode 100644
index 0caf75c9..00000000
Binary files a/docs/maps/assets/menu-command.png and /dev/null differ
diff --git a/front/src/Api/iframe/chat.ts b/front/src/Api/iframe/chat.ts
index 5f73b744..7d8e6f71 100644
--- a/front/src/Api/iframe/chat.ts
+++ b/front/src/Api/iframe/chat.ts
@@ -23,7 +23,7 @@ class WorkadventureChatCommands extends IframeApiContribution {
diff --git a/front/src/Api/iframe/ui.ts b/front/src/Api/iframe/ui.ts
index 8e9943b2..c7655b84 100644
--- a/front/src/Api/iframe/ui.ts
+++ b/front/src/Api/iframe/ui.ts
@@ -90,7 +90,7 @@ class WorkAdventureUiCommands extends IframeApiContribution {
- const elementChildre = element.children.item(index);
- if (!elementChildre) {
+ const elementChildren = element.children.item(index);
+ if (!elementChildren) {
return;
}
- elementChildre.classList.remove('active');
+ elementChildren.classList.remove('active');
if ((index + 1) > volume) {
return;
}
- elementChildre.classList.add('active');
+ elementChildren.classList.add('active');
});
}