summaryrefslogtreecommitdiff
path: root/source/features/no-duplicate-list-update-time.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/no-duplicate-list-update-time.tsx')
-rw-r--r--source/features/no-duplicate-list-update-time.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/no-duplicate-list-update-time.tsx b/source/features/no-duplicate-list-update-time.tsx
index 1effedeb..d4fd3805 100644
--- a/source/features/no-duplicate-list-update-time.tsx
+++ b/source/features/no-duplicate-list-update-time.tsx
@@ -1,4 +1,4 @@
-import select from 'select-dom';
+import {$$} from 'select-dom';
import * as pageDetect from 'github-url-detection';
import features from '../feature-manager.js';
@@ -9,7 +9,7 @@ function parseTime(element: HTMLElement): number {
}
function remove(issue: HTMLElement): void {
- const [stateChangeTime, updateTime] = select.all('relative-time', issue);
+ const [stateChangeTime, updateTime] = $$('relative-time', issue);
if (parseTime(updateTime) - parseTime(stateChangeTime) < 10_000) { // Hide if within 10 seconds
updateTime.parentElement!.remove();
}