diff options
author | 2021-08-22 10:14:42 +0530 | |
---|---|---|
committer | 2021-08-22 11:44:42 +0700 | |
commit | 12e0d63d1883296e753de8da11a3e539ad868857 (patch) | |
tree | e994ccc2857f5f755df17467b1b533c607da65ca /source/features/navigate-pages-with-arrow-keys.tsx | |
parent | 5d9f32209094be67aa12d906fc727e6f729e9119 (diff) | |
download | refined-github-12e0d63d1883296e753de8da11a3e539ad868857.tar.gz refined-github-12e0d63d1883296e753de8da11a3e539ad868857.tar.zst refined-github-12e0d63d1883296e753de8da11a3e539ad868857.zip |
Extend `navigate-pages-with-arrow-keys` to PR commit pages (#4691)
Diffstat (limited to '')
-rw-r--r-- | source/features/navigate-pages-with-arrow-keys.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/features/navigate-pages-with-arrow-keys.tsx b/source/features/navigate-pages-with-arrow-keys.tsx index 7f47f0ce..058b9dcb 100644 --- a/source/features/navigate-pages-with-arrow-keys.tsx +++ b/source/features/navigate-pages-with-arrow-keys.tsx @@ -7,6 +7,7 @@ const nextPageButtonSelectors = [ '.paginate-container > .BtnGroup > :last-child', // Commits '.paginate-container > .pagination > :last-child', // Releases '.js-notifications-list-paginator-buttons > :last-child', // Notifications + '.prh-commit > .BtnGroup > :last-child', // PR Commits ]; const previousPageButtonSelectors = [ @@ -14,6 +15,7 @@ const previousPageButtonSelectors = [ '.paginate-container > .BtnGroup > :first-child', // Commits '.paginate-container > .pagination > :first-child', // Releases '.js-notifications-list-paginator-buttons > :first-child', // Notifications + '.prh-commit > .BtnGroup > :first-child', // PR Commits ]; function init(): void { |