From 16b08dec626e75c9ce05d0e3283526508e5f3ee3 Mon Sep 17 00:00:00 2001 From: yakov116 <16872793+yakov116@users.noreply.github.com> Date: Thu, 20 May 2021 23:05:39 -0400 Subject: Lint (#4361) Co-authored-by: Federico Brigante --- source/features/embed-gist-inline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/features/embed-gist-inline.tsx') diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx index e272a3f5..5221fa9e 100644 --- a/source/features/embed-gist-inline.tsx +++ b/source/features/embed-gist-inline.tsx @@ -21,7 +21,7 @@ async function embedGist(link: HTMLAnchorElement): Promise { try { // Fetch via background.js due to CORB policies const gistData = await browser.runtime.sendMessage({fetchJSON: `${link.href}.json`}); - if (gistData.div.length > 10000) { + if (gistData.div.length > 10_000) { info.textContent = ' (too large to embed)'; return; } -- cgit v1.2.3