Skip to content

Commit 0d39038

Browse files
committed
[all] fix css selectors
1 parent 9c8c383 commit 0d39038

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugins/channel-typing-indicators/utils.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function getChannelIconContainer(channelId) {
2525
`[data-list-item-id="channels___${channelId}"]`
2626
)?.parentElement;
2727

28-
return channelElement?.querySelector(`div[class^="children_"]`);
28+
return channelElement?.querySelector(`div[class*="children"]`);
2929
}
3030

3131
export async function removeTypingIndicator(channelId) {

plugins/show-username/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const {
33
util: { getFiber, reactFiberWalker }
44
} = shelter;
55

6-
const USERNAME_QUERY = '[id^="message-username-"] > [class^="username"]';
6+
const USERNAME_QUERY = '[id^="message-username-"] > [class*="username"]';
77

88
export function forceAddUsernames() {
99
for (const e of document.querySelectorAll(USERNAME_QUERY)) {

plugins/vc-timer/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const {
66

77
import Timer from "./components/timer";
88

9-
const SUBTEXT_QUERY = `div[class^="rtcConnectionStatus"] a div[class^="lineClamp"]:not(:has(.ioj4-vct))`;
9+
const SUBTEXT_QUERY = `div[class*="rtcConnectionStatus"] a div[class*="lineClamp"]:not(:has(.ioj4-vct))`;
1010

1111
let insertLock = false;
1212

0 commit comments

Comments
 (0)