From 334f38f0f12ce88a73e61478ded54693146f6c04 Mon Sep 17 00:00:00 2001
From: Federico <me@fregante.com>
Date: Sat, 2 Jan 2021 00:16:23 -0600
Subject: Meta: Infer better types in `querySelector` and `select-dom` (#3831)

---
 source/features/embed-gist-via-iframe.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source/features/embed-gist-via-iframe.tsx')

diff --git a/source/features/embed-gist-via-iframe.tsx b/source/features/embed-gist-via-iframe.tsx
index c7308889..bb011530 100644
--- a/source/features/embed-gist-via-iframe.tsx
+++ b/source/features/embed-gist-via-iframe.tsx
@@ -5,7 +5,7 @@ import * as pageDetect from 'github-url-detection';
 import features from '.';
 
 function init(): void {
-	const embedViaScript = select<HTMLButtonElement>('.file-navigation-option [value^="<script"]')!;
+	const embedViaScript = select('.file-navigation-option button[value^="<script"]')!;
 	const embedViaIframe = embedViaScript.cloneNode(true);
 
 	// Remove analytics attributes
-- 
cgit v1.2.3

