diff options
author | 2019-02-08 09:54:46 -0500 | |
---|---|---|
committer | 2019-02-08 22:54:46 +0800 | |
commit | 9f9d178aceae3d8771685f5a043f8dff10033453 (patch) | |
tree | 60d146ff342dd7cf4892749fff8fd11f3a5c0307 /source/features/extend-diff-expander.tsx | |
parent | 4c90b05ca14285fa98d370da70ca6770af08e1b4 (diff) | |
download | refined-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.tsx | 2 |
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(); } } |