summaryrefslogtreecommitdiff
path: root/source/features/extend-diff-expander.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-04-26 01:07:06 +0800
committerGravatar GitHub <noreply@github.com> 2023-04-26 01:07:06 +0800
commitaa62e150c5146dff55d4f72cb487000ec8fd7afd (patch)
treede9392984807a7651b1f9702f8b977a8d005f7aa /source/features/extend-diff-expander.tsx
parent9d80ba25d83cf329d368a4210ed7261e24ad9657 (diff)
downloadrefined-github-aa62e150c5146dff55d4f72cb487000ec8fd7afd.tar.gz
refined-github-aa62e150c5146dff55d4f72cb487000ec8fd7afd.tar.zst
refined-github-aa62e150c5146dff55d4f72cb487000ec8fd7afd.zip
Update `delegate-it` (#6563)
Diffstat (limited to 'source/features/extend-diff-expander.tsx')
-rw-r--r--source/features/extend-diff-expander.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/extend-diff-expander.tsx b/source/features/extend-diff-expander.tsx
index 65049dc2..0850a55f 100644
--- a/source/features/extend-diff-expander.tsx
+++ b/source/features/extend-diff-expander.tsx
@@ -14,7 +14,7 @@ function expandDiff(event: DelegateEvent): void {
function init(signal: AbortSignal): void {
document.body.classList.add('rgh-extend-diff-expander');
- delegate(document, '.diff-view .js-expandable-line', 'click', expandDiff, {signal});
+ delegate('.diff-view .js-expandable-line', 'click', expandDiff, {signal});
}
void features.add(import.meta.url, {