summaryrefslogtreecommitdiff
path: root/source/helpers/bisect.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/helpers/bisect.tsx')
-rw-r--r--source/helpers/bisect.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/helpers/bisect.tsx b/source/helpers/bisect.tsx
index e9bc47aa..902c4a2b 100644
--- a/source/helpers/bisect.tsx
+++ b/source/helpers/bisect.tsx
@@ -1,6 +1,6 @@
import React from 'dom-chef';
import {CachedValue} from 'webext-storage-cache';
-import select from 'select-dom';
+import {$, $$} from 'select-dom';
import elementReady from 'element-ready';
import pluralize from './pluralize.js';
@@ -58,7 +58,7 @@ async function onEndButtonClick(): Promise<void> {
}
function createMessageBox(message: Element | string, extraButtons?: Element): void {
- select('#rgh-bisect-dialog')?.remove();
+ $('#rgh-bisect-dialog')?.remove();
document.body.append(
<div id="rgh-bisect-dialog" className="Box p-3">
<p>{message}</p>
@@ -97,7 +97,7 @@ export default async function bisectFeatures(): Promise<Record<string, boolean>
// Enable "Yes"/"No" buttons once the page is done loading
window.addEventListener('load', () => {
- for (const button of select.all('#rgh-bisect-dialog [aria-disabled]')) {
+ for (const button of $$('#rgh-bisect-dialog [aria-disabled]')) {
button.removeAttribute('aria-disabled');
}
});