summaryrefslogtreecommitdiff
path: root/source/features/hide-own-stars.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/hide-own-stars.tsx')
-rw-r--r--source/features/hide-own-stars.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/hide-own-stars.tsx b/source/features/hide-own-stars.tsx
index 2eecc3b8..56d2e49e 100644
--- a/source/features/hide-own-stars.tsx
+++ b/source/features/hide-own-stars.tsx
@@ -8,7 +8,7 @@ import {safeElementReady} from '../libs/dom-utils';
const observer = new MutationObserver(([{addedNodes}]) => {
// Remove events from dashboard
- for (const item of select.all<HTMLElement>('#dashboard .news .watch_started, #dashboard .news .fork')) {
+ for (const item of select.all('#dashboard .news .watch_started, #dashboard .news .fork')) {
if (select(`a[href^="/${getUsername()}"]`, item)) {
item.style.display = 'none';
}