summaryrefslogtreecommitdiff
path: root/source/features/embed-gist-via-iframe.tsx
diff options
context:
space:
mode:
authorGravatar Kid <kidonng@gmail.com> 2019-12-07 00:44:26 +0800
committerGravatar Federico Brigante <github@bfred.it> 2019-12-06 23:44:26 +0700
commitc71984d5ec1924fe38f9cda328b889cf8d263045 (patch)
treef5566ccf700892ec425984f86b3bcc4a88e0a485 /source/features/embed-gist-via-iframe.tsx
parent418425a914d71b0cf2670aaf1f53affa1bcd6899 (diff)
downloadrefined-github-c71984d5ec1924fe38f9cda328b889cf8d263045.tar.gz
refined-github-c71984d5ec1924fe38f9cda328b889cf8d263045.tar.zst
refined-github-c71984d5ec1924fe38f9cda328b889cf8d263045.zip
Fix console error caused by `embed-gist-via-iframe` (#2539)
Co-authored-by: Federico Brigante <github@bfred.it>
Diffstat (limited to 'source/features/embed-gist-via-iframe.tsx')
-rw-r--r--source/features/embed-gist-via-iframe.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/embed-gist-via-iframe.tsx b/source/features/embed-gist-via-iframe.tsx
index f0368fda..c2218838 100644
--- a/source/features/embed-gist-via-iframe.tsx
+++ b/source/features/embed-gist-via-iframe.tsx
@@ -27,7 +27,7 @@ features.add({
description: 'Adds a menu item to embed a gist via <iframe>.',
screenshot: 'https://user-images.githubusercontent.com/44045911/63633382-6a1b6200-c67a-11e9-9038-aedd62e4f6a8.png',
include: [
- features.isGist
+ features.isSingleGist
],
load: features.onDomReady,
init