summaryrefslogtreecommitdiff
path: root/source/features/vertical-front-matter.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/vertical-front-matter.tsx')
-rw-r--r--source/features/vertical-front-matter.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/features/vertical-front-matter.tsx b/source/features/vertical-front-matter.tsx
index f26ab3a0..e2427ac3 100644
--- a/source/features/vertical-front-matter.tsx
+++ b/source/features/vertical-front-matter.tsx
@@ -1,6 +1,6 @@
import './vertical-front-matter.css';
import React from 'dom-chef';
-import select from 'select-dom';
+import {$$} from 'select-dom';
import * as pageDetect from 'github-url-detection';
import elementReady from 'element-ready';
@@ -15,12 +15,12 @@ async function init(): Promise<false | void> {
return false;
}
- const headers = select.all(':scope > thead th', table);
+ const headers = $$(':scope > thead th', table);
if (headers.length <= 4) {
return false;
}
- const rows = select.all(':scope > tbody > tr', table);
+ const rows = $$(':scope > tbody > tr', table);
if (rows.length !== 1 || headers.length !== rows[0].childElementCount) {
return false;
}