summaryrefslogtreecommitdiff
path: root/source/features/embed-gist-inline.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-01-19 16:34:34 +0700
committerGravatar Federico Brigante <github@bfred.it> 2019-01-19 16:34:34 +0700
commit06e7f67ab6023301ec6079af9e02f67ba3e5bc4d (patch)
tree3741bd302fcc18b907993b8b17a115f77ec133f9 /source/features/embed-gist-inline.tsx
parent11b927189bab258a226e251c1bd87504feee51f4 (diff)
downloadrefined-github-06e7f67ab6023301ec6079af9e02f67ba3e5bc4d.tar.gz
refined-github-06e7f67ab6023301ec6079af9e02f67ba3e5bc4d.tar.zst
refined-github-06e7f67ab6023301ec6079af9e02f67ba3e5bc4d.zip
Update dependencies; lint
Diffstat (limited to 'source/features/embed-gist-inline.tsx')
-rw-r--r--source/features/embed-gist-inline.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx
index 55841f16..4c27e443 100644
--- a/source/features/embed-gist-inline.tsx
+++ b/source/features/embed-gist-inline.tsx
@@ -41,6 +41,7 @@ async function embedGist(link) {
info.remove(' (embed failed)');
}
}
+
function init() {
select.all('.js-comment-body p a:only-child')
.filter(item => isGist(item) && isOnlyChild(item))