Skip to content

Commit

Permalink
Enable file-finder-buffer everywhere (#4441)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheap-glitch committed Jun 8, 2021
1 parent 6b3c00b commit 6f27970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/features/file-finder-buffer.tsx
Expand Up @@ -35,7 +35,7 @@ function pjaxStartHandler(event: CustomEvent): void {
<span className="flex-self-stretch mr-2">{bufferField}</span>
);
bufferField.focus();
for (const element of select.all('.pagehead-actions, .rgh-ci-link, .octotree-bookmark-btn')) {
for (const element of select.all('.pagehead-actions, .rgh-ci-link details, .octotree-bookmark-btn')) {
element.remove();
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/features/repo-wide-file-finder.tsx
Expand Up @@ -11,7 +11,7 @@ async function init(): Promise<void> {
<a
hidden
data-hotkey="t"
data-pjax="true"
data-pjax="#js-repo-pjax-container"
href={buildRepoURL('find', getCurrentCommittish() ?? await getDefaultBranch())}
/>
);
Expand Down

0 comments on commit 6f27970

Please sign in to comment.