diff options
Diffstat (limited to 'source/features/quick-pr-diff-options.tsx')
-rw-r--r-- | source/features/quick-pr-diff-options.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/quick-pr-diff-options.tsx b/source/features/quick-pr-diff-options.tsx index 2bfd781c..9f598d22 100644 --- a/source/features/quick-pr-diff-options.tsx +++ b/source/features/quick-pr-diff-options.tsx @@ -70,7 +70,7 @@ function createWhitespaceButton(): HTMLElement { } function initPR(): false | void { - select('.js-file-filter')!.closest('.flex-auto')!.append( + select('.js-file-filter')!.parentElement!.append( <div className="diffbar-item d-flex">{createDiffStyleToggle()}</div>, <div className="diffbar-item d-flex">{createWhitespaceButton()}</div>, ); |