From 95d8cf92577e8ab847fa7873883243b96be922ec Mon Sep 17 00:00:00 2001 From: GRL Date: Wed, 23 Jun 2021 14:54:06 +0200 Subject: [PATCH] Change requested --- docs/maps/api-ui.md | 2 +- docs/maps/assets/menu-command.png | Bin 9856 -> 0 bytes front/src/Api/iframe/chat.ts | 2 +- front/src/Api/iframe/nav.ts | 8 ++++---- front/src/Api/iframe/room.ts | 6 +++--- front/src/Api/iframe/ui.ts | 2 +- front/src/WebRtc/MediaManager.ts | 8 ++++---- 7 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 docs/maps/assets/menu-command.png 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 0caf75c9d772d63e43365040e033d3f93e69cf3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9856 zcmch7XIv9s*X&^#gz- zt@Iy;uU>`D;Fo+bom((VuZJ-BUEc?Qp6`PPo_?-gFehs^aL8Gzfi~3YsnZG}u$13A zhvK9ELtS5-sWAnG*Lqs`7;SUZyy7?X66ak%-Y0BgXHmaHViF?Ijd3pIFwt?30%JeDB z-{0SQ%&yt4rnne)u-jKxZx_0KW5eD^nXIQfhRPq9s$lo(#c1#@ERedgEhtlO}dHmm;1%_AfQcuKRPQ9U&Z$?rHy4C>@H|N+xxCG)uy;p zVpAb2A6|^VS$c~X;h5R%Nx*34rRLuQw`a7}*7A?T)TeLD6IEJzxfih;7SV2>KFn2o z&=&cv%fV-vf8&BYVzPY4v0Zd!QR(`_o@10p$%r|awpZL}3}P>6{e*)18{2x{yyMq= zoukLvxcF*GQ;Diuw<@KdVEp=2m8xaY9yr0YL_BQB_*oVYRaJlluJQPd+#E6JZAw(| z$xP&yEzPQL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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'); }); }