summaryrefslogtreecommitdiff
path: root/source/features/extend-diff-expander.tsx
diff options
context:
space:
mode:
authorGravatar Nick Taylor <nick@iamdeveloper.com> 2019-02-08 09:54:46 -0500
committerGravatar Federico Brigante <github@bfred.it> 2019-02-08 22:54:46 +0800
commit9f9d178aceae3d8771685f5a043f8dff10033453 (patch)
tree60d146ff342dd7cf4892749fff8fd11f3a5c0307 /source/features/extend-diff-expander.tsx
parent4c90b05ca14285fa98d370da70ca6770af08e1b4 (diff)
downloadrefined-github-9f9d178aceae3d8771685f5a043f8dff10033453.tar.gz
refined-github-9f9d178aceae3d8771685f5a043f8dff10033453.tar.zst
refined-github-9f9d178aceae3d8771685f5a043f8dff10033453.zip
Move to TypeScript (#1750)
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 d9780053..1bd149d8 100644
--- a/source/features/extend-diff-expander.tsx
+++ b/source/features/extend-diff-expander.tsx
@@ -5,7 +5,7 @@ import features from '../libs/features';
function expandDiff(event) {
// Skip if the user clicked directly on the icon
if (!event.target.closest('.js-expand')) {
- select('.js-expand', event.delegateTarget).click();
+ select<HTMLAnchorElement>('.js-expand', event.delegateTarget).click();
}
}